Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 22nd, 2012  |  syntax: SQL  |  size: 0.57 KB  |  views: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. SQL-dotaz:
  2.  
  3. --
  4. -- Databáze: `pixelbox`
  5. --
  6. -- --------------------------------------------------------
  7. --
  8. -- Struktura tabulky `acomments`
  9. --
  10. CREATE TABLE IF NOT EXISTS `acomments` (
  11. `ID` INT( 11 ) NOT NULL AUTO_INCREMENT ,
  12. `IDuser` INT( 11 ) NOT NULL ,
  13. `IDart` INT( 11 ) NOT NULL ,
  14. `Datum` DATE NOT NULL ,
  15. `Text` text CHARACTER SET utf8 COLLATE utf8_czech_ci NOT NULL ,
  16. PRIMARY KEY ( `ID` ) ,
  17. KEY `IDuser` ( `IDuser` ) ,
  18. KEY `IDart` ( `IDart` )
  19. ) ENGINE = InnoDB DEFAULT CHARSET = latin1 AUTO_INCREMENT =1;
  20.  
  21.  
  22.  
  23. MySQL hlásí:  
  24.  #1046 - No DATABASE selected
clone this paste RAW Paste Data