CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn2008`.`clientes_gestdoc` AS SELECT `cd`.`clientFk` AS `Id_Cliente`, `cd`.`dmsFk` AS `gest_doc_id` FROM `vn`.`clientDms` `cd`