MySQL Forums
Forum List  »  MySQL Workbench

Syncronize error
Posted by: Bruno Fregnani
Date: November 16, 2018 08:13AM

Executing SQL script in server
ERROR: Error 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 'VISIBLE' at line 7
SQL Code:
ALTER TABLE `livrariapoetica`.`cliente`
ADD COLUMN `venda_idvenda` INT(11) NOT NULL AFTER `email`,
CHANGE COLUMN `nome` `nome` VARCHAR(45) NULL DEFAULT NULL ,
CHANGE COLUMN `endereco` `endereco` VARCHAR(45) NULL DEFAULT NULL ,
CHANGE COLUMN `registro` `registro` INT(11) NULL DEFAULT NULL ,
CHANGE COLUMN `email` `email` VARCHAR(45) NULL DEFAULT NULL ,
ADD INDEX `fk_cliente_venda1_idx` (`venda_idvenda` ASC) VISIBLE

SQL script execution finished: statements: 3 succeeded, 1 failed

Fetching back view definitions in final form.
Nothing to fetch

Options: ReplyQuote


Subject
Views
Written By
Posted
Syncronize error
806
November 16, 2018 08:13AM
265
March 08, 2019 07:01AM


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.