05-06-2011 02:21 AM
CREATE ALGORITHM=UNDEFINED DEFINER=`alfresco`@`localhost` SQL SECURITY DEFINER VIEW `ZKT_VIEWSUBFOLDER` AS select `alf_node`.`id` AS `node_id`,`alf_node_properties`.`string_value` AS `sub_folder_name` from (`alf_node_properties` join `alf_node` on(((`alf_node_properties`.`node_id` = `alf_node`.`id`) and (`alf_node_properties`.`qname_id` = 280))));
CREATE ALGORITHM=UNDEFINED DEFINER=`alfresco`@`localhost` SQL SECURITY DEFINER VIEW `ZKT_VIEWSUBFOLDER2` AS select `ZKT_VIEWSUBFOLDER`.`node_id` AS `node_id`,`alf_node_properties`.`string_value` AS `folder`,substring_index(substring_index(substring_index(`ZKT_VIEWSUBFOLDER`.`sub_folder_name`,'|',-(2)),',',-(1)),'|',1) AS `name` from (`ZKT_VIEWSUBFOLDER` join `alf_node_properties` on(((`alf_node_properties`.`node_id` = `ZKT_VIEWSUBFOLDER`.`node_id`) and (`alf_node_properties`.`qname_id` = 280))));
05-06-2011 04:29 AM
05-06-2011 04:41 AM
05-06-2011 04:52 AM
SELECT a.id AS nodeid, b.string_value AS foldername FROM alf_node a, alf_node_properties b WHERE a.type_qname_id =24 AND b.qname_id =27 AND a.store_id != 5 AND a.id = b.node_id
05-06-2011 05:07 AM
05-06-2011 05:14 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.