Jump to content
Fórum Script Brasil
  • 0

Erro de Sintaxe #1064


douglasdamame

Question

Bom dia,

Estou tendo um erro de sintaxe ao importar uma tabela e não consigo achar o erro.

Se pudrerem me ajudar, agradeceria muito

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(0),
  `ID_Usuario_Inclusao` INT(10) NULL,
  `Data_Inclusao` DATETIME NULL,
' at line 5
DROP TABLE IF EXISTS `minhatabela_dbo`.`Conta_Corrente_Cliente`;
CREATE TABLE `minhatabela_dbo`.`Conta_Corrente_Cliente` (
  `ID` INT(10) NOT NULL AUTO_INCREMENT,
  `ID_PM` INT(10) NULL,
  `ID_OS` INT(10) NULL,
  `Pago` TINYINT NULL DEFAULT (0),
  `ID_Usuario_Inclusao` INT(10) NULL,
  `Data_Inclusao` DATETIME NULL,
  `ID_Usuario_Ultima_Alteracao` INT(10) NULL,
  `Data_Ultima_Alteracao` DATETIME NULL,
  `Data_Pago` DATETIME NULL,
  PRIMARY KEY (`ID`)
)
ENGINE = INNODB;

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...