yah, mysql only allows one auto increment field n that's used as the
primary key in tables. I don't think it has to be the primary key as
long as it is a unique key i think that's okay.
so u should be able to do : create table (myid int unsigned not null
auto_increment., unique key (myid));
All,
Just curious as to which query would be better in terms of performance:
select * from (select * from a union select * from b) as c;
versus
select * from a union select * from b;
or would these 2 queries be the same ?
Thanks,
Yong.
Yong Lee
Developer
[EMAIL PROTECTED]
http
chris,
you're going to need a source for all the distinct codes that you may see in
your product tableie: if you don't have a full list somewhere (like your
temp table) you cannot do your query because you have nothing to compare
against.
assuming you had some table X which had a list of all
yes, one master to multiple slaves.
I believe u can set up multiple mysql instances on a single machine with
each mysql instance collecting from a different master.
Yong.
-Original Message-
From: Andrey Dmitriev [mailto:[EMAIL PROTECTED]
Sent: May 21, 2008 11:29 AM
To:
Hi all,
Is there a problem with the mysql web page (http://lists.mysql.com/) where
you can query mailing list archives ? I can't seem to get more than 20
results to any query.
Thanks,
Yong.
Yong Lee
Developer
[EMAIL PROTECTED]
http://www.eqo.com/
direct: +1.604.273.8173 x113
mobile
on current time
before doing an insert) and then have a cron job to create new tables as
needed and to also backup and remove older tables as they are no longer
being used.
Any thoughts on this ?
Thanks,
Yong.
Yong Lee
Developer
[EMAIL PROTECTED]
http://www.eqo.com/
direct
Hi All,
I noticed that there are RPM downloads for RHEL4 but that these do not
contain the ndb storage engine (ie: these are standard builds). As such,
I've resolved to just use the generic x86 rpm bundles that are offered but
I'm curious if the ndb storage engine will ever get included into
Hi all,
I'm fairly new to character sets and I'm trying to get a better
understanding of how mysql deals with them. I hope someone out there can
shed some light on a behavior that I am seeing. We're using mysql 4.1.12
with clustered tables.
I have a table with a varchar and a text field
Hi all,
I hope I have hit the right group for this question.
I would like to create a UDF that is configurable at run time. Similar to
how mysql can use variables defined in the /etc/my.cnf file, I'd like my UDF
to make use of configuration parameters that can be set at run time.
I'm
Hi all,
I hope I have hit the right group for this question.
I would like to create a UDF that is configurable at run time. Similar to
how mysql can use variables defined in the /etc/my.cnf file, I'd like my UDF
to make use of configuration parameters that can be set at run time.
I'm
10 matches
Mail list logo