MySQL Forums
Forum List  »  Portuguese

ERROR MYSQL CREATE TABLE
Posted by: franncysdias francys
Date: May 21, 2019 02:19PM

CREATE TABLE `grupobitkey_bd`.`tb_os` (
`idos` INT GENERATED ALWAYS AS () VIRTUAL,
`nome` VARCHAR(100) NULL,
`uc` VARCHAR(12) NULL,
`situacaoUC` VARCHAR(4) NULL,
`os` INT NULL,
`situacaoOS` VARCHAR(4) NULL,
`servico` INT(3) NULL,
`dataFase` DATE NULL,
`dataAbertura` DATE NULL,
`dataMaxima` DATE NULL,
`tipoLogradouro` CHAR(2) NULL,
`logradouro` VARCHAR(50) NULL,
`numero` INT NULL,
`complemento` VARCHAR(45) NULL,
`bairro` VARCHAR(45) NULL,
`distrito` VARCHAR(45) NULL,
`municipio` VARCHAR(45) NULL,
`status` SMALLINT NULL,
`dtCadastro` TIMESTAMP NULL,
PRIMARY KEY (`idos`),
UNIQUE INDEX `idos_UNIQUE` (`idos` ASC) VISIBLE)
ENGINE = MyISAM
DEFAULT CHARACTER SET = latin1;

Qual o erro nesse comando pessoal :(

Options: ReplyQuote


Subject
Views
Written By
Posted
ERROR MYSQL CREATE TABLE
374
May 21, 2019 02:19PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.