Re: if else statement

2006-06-25 Thread Thomas Lundström
fre 2006-06-23 klockan 01:52 -0400 skrev Michael Stassen: > Thomas Lundström wrote: > > Not sure what you're aming for here and how your data is structured but > > why not use a join and alias and fetch all info in one select and then > > solve what you need in your

Re: if else statement

2006-06-21 Thread Thomas Lundström
Not sure what you're aming for here and how your data is structured but why not use a join and alias and fetch all info in one select and then solve what you need in your code? Something in the line of: select t2.col2 from_t2, t3.col2 from_t3 from table1 t1, table2 t2, table3 t3 where t1.id = t

Re: set "DEC" as a column name : forbidden

2006-05-30 Thread Thomas Lundström
Hi Gilles! Just use `dec` and it will work fine. DEC is as you suspected a reserved word and can only be used as column namne if you put it in ``-syntax. Example: create table astronomicalvskeywords ( `dec` float not null, `ra` float not null ); ...will create: desc astronomicalvskeywords;

RE: Trouble with Virus checkers

2005-01-18 Thread Thomas Lundström
pc net is a good idea. Put a firewall in between (maybe controlled by your IT-department so they can sleep at night?) and make sure it only allows database traffic. Then you have a solution in the right line of thinking by my book. Regard, Thomas Thomas

RE: A Beginning User

2004-12-16 Thread Thomas Lundström
\mysql\bin\winmysqladmin.exe tool. Regards, Thomas Lundström ---- Thomas Lundström mailto:[EMAIL PROTECTED] -Original Message- From: Roberto Maisenhelder [mailto:[EMAIL PROTECTED] Sent: den 16 december 2004 12:48 To: [EMAIL PROTECTED] Subject: A Begi

RE: inserting null to not null columns

2004-09-21 Thread Thomas Lundström
nt of dirty data between different systems. Be careful when not including NOT NULL columns in your inserts... To get around the problem and get more background info, read: http://dev.mysql.com/doc/mysql/en/constraint_NOT_NULL.html Regards, Thomas Lundström, Ongame E-Solutions AB -Ori