This one time, at band camp, "Michael Higgins" <[EMAIL PROTECTED]> wrote:
> So before I just jump in and go like I usually do, does anyone have any
> quick advice, things to consider, links, must-RTFMs or the like to help a
> newbie out?
This tutorial deals with images and BLOBs. It should get
Here's a good php implementation, you can implement the concept in any
language you like:
http://www.dreamwerx.net/phpforum/?id=1
On Fri, 20 Apr 2007, Michael Higgins wrote:
> Hello, all --
>
> I want to set up a database for document storage. I've never worked with
> binary files stored in ta
Michael, here's what I can tell you -
Some people will advise you against storing documents in tables - claim it
makes the data harder to serve up, etc. I agree it's quite simple to set up
a folder structure with your files on the filesystem and point Apache or IIS
to it while tracking metadata
Joerg Bruehe wrote:
Hi!
Duncan Hill wrote:
On Thursday 19 April 2007 15:53:54 molemenacer wrote:
I am trying to change all the names of the database from mthosp to
another
name, is this possible?
Assuming you mean tables, not database (as mysqldump doesn't store the
database name in the
Hello, all --
I want to set up a database for document storage. I've never worked with
binary files stored in tables.
So before I just jump in and go like I usually do, does anyone have any
quick advice, things to consider, links, must-RTFMs or the like to help a
newbie out?
I feel like I need
Hi!
Duncan Hill wrote:
On Thursday 19 April 2007 15:53:54 molemenacer wrote:
I am trying to change all the names of the database from mthosp to another
name, is this possible?
Assuming you mean tables, not database (as mysqldump doesn't store the
database name in the dump file [or at least n
Dear List,
We are running:
mysql> status
--
mysql Ver 14.12 Distrib 5.0.27, for unknown-freebsd6.0 (i386) using
readline 5.0
Could someone explain the meaning or give us brief explanation of the
following entries in err file on MySQL server:
==
In case it is acceptable to have a1,b1.qty, b2.qty, b3.qty concatenated
in one field GROUP_CONCAT might help
http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html#function_
group-concat
--
Jacques Brignon
> -Message d'origine-
> De : Baron Schwartz [mailto:[EMAIL PROTECTED]
> E
Hi,
I ve recently been playing with storing trees in mysql using nested
set, and I was wondering if anyone knows if this could be extended to
forests (set of trees) to be stored in one table?
Many Thanks in advance,
Nathan
--
MySQL General Mailing List
For list archives: http://lists.mysql.com
> From: Baron Schwartz
> Hi Edward,
>
> Edward Kay wrote:
> > Hi,
> >
> > I have a query that returns data from a join of two tables, person and
> > company. The results look like:
> >
> > FIRST_NAME | LAST_NAME | COMPANY_NAME
> > -
> > NULL | NULL |
Hi Edward,
Edward Kay wrote:
Hi,
I have a query that returns data from a join of two tables, person and
company. The results look like:
FIRST_NAME | LAST_NAME | COMPANY_NAME
-
NULL | NULL | Toy Co
Mark | Smith | NULL
NULL | NULL
Hi all,
I am hoping to find someone with similar data, who is using mysql to
exchange ideas and concepts. A second opinion is always good I guess.
I work in a research setup and store mainly trial related, genotypic and
phenotypic information. As technology progresses and we are expecting 1M
chip
Hi,
I have a query that returns data from a join of two tables, person and
company. The results look like:
FIRST_NAME | LAST_NAME | COMPANY_NAME
-
NULL | NULL | Toy Co
Mark | Smith | NULL
NULL | NULL | Big Corp
NULL | NULL
Nathan,
>I ve recently been playing with storing trees in mysql using nested
>set, and I was wondering if anyone knows if this could be extended to
>forests (set of trees) to be stored in one table?
Dead simple, add a treeID smallint column to the table that holds the
nested sets, and add ... W
Hi,
wang shuming wrote:
> Hi,
> How could
> select
>row1 a1,b1.qty, b2.qty, b3.qty
>row2 a2,b1.qty, b2.qty, b3.qty
>row3 a3,b1.qty, b2.qty, b3.qty
> ...
> from a table :
>
> row1 a1,b1,qty
> row2 a1,b2,qty
> row3 a1,b3,qty
> row4 a2,b1,qty
> row5 a2,b2,qty
insert into table1 (fa,fb,qty) values (fa1,fb1,qty1) on duplicate key
update qty=qty+qty1
a primarykey or unique key must.
Shuming Wang
[EMAIL PROTECTED] wrote:
I want to update a table if it meets some conditions (already exist) and
INSERT otherwise?
Right now I am doing it this way:
1. SELECT the record
2. If it exist, I UPDATE it
3. If it does not exit, I INSERT a new record
Could this be done in one query? I mean like con
> How can I change character_set_xxx variables in MySQL 4.1.x in Linux?
SET NAMES ''
http://dev.mysql.com/doc/refman/4.1/en/charset-connection.html
Edward
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Hi,
How could
select
row1 a1,b1.qty, b2.qty, b3.qty
row2 a2,b1.qty, b2.qty, b3.qty
row3 a3,b1.qty, b2.qty, b3.qty
...
from a table :
row1 a1,b1,qty
row2 a1,b2,qty
row3 a1,b3,qty
row4 a2,b1,qty
row5 a2,b2,qty
row6 a2,b3,qty
row7 a3,b1,qty
Hi,
what you want to look into is (depending on your version)
either "INSERT ... ON DUPLICATE KEY UPDATE ..." or REPLACE
http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html
http://dev.mysql.com/doc/refman/5.0/en/replace.html
/Johan
[EMAIL PROTECTED] skrev:
Hi,
I want to update a ta
Hi,
I want to update a table if it meets some conditions (already exist)
and INSERT otherwise?
Right now I am doing it this way:
1. SELECT the record
2. If it exist, I UPDATE it
3. If it does not exit, I INSERT a new record
Could this be done in one query? I mean like conditional update/ins
21 matches
Mail list logo