Skip navigation links

MySQL Forums :: UDF :: variable


Advanced Search

Re: variable
Posted by: Juraj Balaz ()
Date: January 27, 2006 07:01PM

set @table_name := 'zpl';
set @sql_text := concat('create table ',@table_name,'(id int(10) not null auto increment, name varchar(20) not null, surename varchar(20) not null, sex BOOLEAN)');
prepare stmt from @sql_text;
execute stmt;
deallocate prepare stmt;

this is my statements

Options: ReplyQuote


Subject Views Written By Posted
variable 2926 Juraj Balaz 01/25/2006 09:37AM
Re: variable 2214 Roland Bouman 01/26/2006 10:52AM
Re: variable 2072 Juraj Balaz 01/27/2006 05:46PM
Re: variable 2042 Roland Bouman 01/27/2006 06:01PM
Re: variable 2080 Juraj Balaz 01/27/2006 07:01PM
Re: variable 3616 Roland Bouman 01/28/2006 03:28AM
Re: variable 2085 Juraj Balaz 01/28/2006 06:14AM
Re: variable 2710 Roland Bouman 01/28/2006 07:37AM
Re: variable 1946 Juraj Balaz 01/28/2006 06:24PM
Re: variable 2085 Roland Bouman 01/29/2006 06:49AM
Re: variable 2056 Juraj Balaz 01/29/2006 12:00PM
Re: variable 2074 Roland Bouman 01/29/2006 12:58PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.