MYSQL, zahlen?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MYSQL, zahlen?

    Hi,
    wenn ich eine Tabelle erstellen will:

    PHP Code:
    $zahl 1;
    $sql_create="CREATE TABLE $zahl
     (id INT AUTO_INCREMENT PRIMARY KEY, 
     betreff            varchar(255),
    name         varchar(255),
    texta        text(6555))"

    kann ich dann als Tabellenname eine Zahl nehmen?
    Oder muss das ein Wort sein?

  • #2
    ich würde mal auf ja tippen

    aber warum probierst du das nich einfach mal aus?
    mehr als explodieren kann dein pc ja nich

    EDIT:
    http://www.mysql.com/doc/en/Legal_names.html


    Das Ding sagt:
    Any character that is allowed in a file name, except `/' or `.'.
    Wenndu allerdings mySQL<3.23.6 verwendest:
    However, a name cannot consist only of digits.

    Last edited by mrhappiness; 25-02-2003, 13:53.
    Ich denke, also bin ich. - Einige sind trotzdem...

    Comment


    • #3
      hab ich ja, nur so ne fehlermeldung kam nicht.
      die tabelle wurde einfach nicht erstellt.

      Comment

      Working...
      X