Results 1 to 3 of 3

Thread: what is wrong with the code?

  1. #1
    Join Date
    Jul 2003
    Posts
    421

    what is wrong with the code?

    mysql> create table mytabl2 if exists mytabl2
    -> seq int UNSIGNED auto_increment not null,
    -> primary key (seq)
    -> ) type = MYISAN auto_increment =1000;
    ________
    Weed news
    Last edited by sql; 03-06-2011 at 01:55 AM.

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    What RDBMS?

    "if exists" has to be before create table.

  3. #3
    Join Date
    Sep 2002
    Posts
    5,938
    >>create table mytabl2 if exists mytabl2

    How can you create table if it exists already?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •