Hello!
I'm new with mysql in a linux environment.So i need to create a view in linux using mysql workbench.Once i create a view using workbench,is says there is a DDL syntax error.This is the code i used.But in Windows format using navicat it works superbly.is it wrong?Code MySQL:DROP VIEW IF EXISTS `transport`.`ol_account`; CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `transport`.`ol_account` AS (select `account_n1`.`JobN0` AS `intJEntryNo`,`account_n1`.`JobDate` AS `dtDate`,`account_n1`.`mainAccID` AS `mainAccID`,`account_n1`.`subAccID` AS `subAccID`,`account_n1`.`description` AS `description`,`account_n1`.`crAmo` AS `debit`,`account_n1`.`crDeb` AS `credit` from `account_n1`);
Can anyone please help me to come out from this mess.
Thanks in advance.![]()


Reply With Quote





Bookmarks