CREATE 
    ALGORITHM = UNDEFINED 
    DEFINER = `root`@`%` 
    SQL SECURITY DEFINER
VIEW `vn`.`clientDms` AS
    SELECT 
        `g`.`Id_Cliente` AS `clientFk`,
        `g`.`gest_doc_id` AS `dmsFk`
    FROM
        `vn2008`.`clientes_gestdoc` `g`