Hello,

 My problem is about users variables. I want to do
a script to create a database so:
  SET @dbname:="mydbname";
  CREATE DATABASE @dbname;    #      <------ Donīt
work
  CREATE DATABASE (SELECT @dbname);# <------ Donīt
Work

I have tried to define @dbname=mydbname directly
but it blocks.

Thanks



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to