<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Query in MySQL database in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3616#M1389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kayne,&lt;/P&gt;&lt;P&gt;Thanks, I have another question, can I query all the rows that I added in a Data List (e.g. Contact List or Custom List)?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;June&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2017 06:56:13 GMT</pubDate>
    <dc:creator>june_cataquez1</dc:creator>
    <dc:date>2017-01-25T06:56:13Z</dc:date>
    <item>
      <title>Query in MySQL database</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3611#M1384</link>
      <description>Hi fellow Alfrecians,I already have multiple documents uploaded to alfresco (documents are uploaded to different Sites I made), and the database I'm using in MySQL(XAMPP), now, I want to query a select statement so that I can know the files that the users are uploading, is it possible? is there a Da</description>
      <pubDate>Wed, 18 Jan 2017 11:16:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3611#M1384</guid>
      <dc:creator>june_cataquez1</dc:creator>
      <dc:date>2017-01-18T11:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Query in MySQL database</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3612#M1385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using following sql to select all contents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT n.id AS "Node ID",&lt;BR /&gt;n.store_id AS "Store ID",&lt;BR /&gt;u.content_size,&lt;BR /&gt;n.uuid AS "Document ID (UUID)",&lt;BR /&gt;n.audit_creator AS "Creator",&lt;BR /&gt;n.audit_created AS "Creation Date",&lt;BR /&gt;n.audit_modifier AS "Modifier",&lt;BR /&gt;n.audit_modified AS "Modification Date",&lt;BR /&gt;p1.string_value AS "Document Name",&lt;BR /&gt;u.content_url AS "Location"&lt;BR /&gt;FROM alf_node AS n,&lt;BR /&gt;alf_node_properties AS p,&lt;BR /&gt;alf_node_properties AS p1,&lt;BR /&gt;alf_namespace AS ns,&lt;BR /&gt;alf_qname AS q,&lt;BR /&gt;alf_content_data AS d,&lt;BR /&gt;alf_content_url AS u&lt;BR /&gt;WHERE n.id=p.node_id&lt;BR /&gt;AND ns.id=q.ns_id&lt;BR /&gt;AND p.qname_id=q.id&lt;BR /&gt;AND p.long_value=d.id&lt;BR /&gt;AND d.content_url_id=u.id&lt;BR /&gt;AND p1.node_id=n.id&lt;BR /&gt;AND p1.qname_id IN (SELECT id FROM alf_qname WHERE local_name='name')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;About alfresco database diagram you can refer to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://bosdonnat.fr/data/alfresco/schema_bd_alfresco.jpg" rel="nofollow noopener noreferrer" target="_blank"&gt;http://bosdonnat.fr/data/alfresco/schema_bd_alfresco.jpg&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 03:23:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3612#M1385</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2017-01-19T03:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Query in MySQL database</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3613#M1386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kayne, Thanks, just the data I needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 05:30:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3613#M1386</guid>
      <dc:creator>june_cataquez1</dc:creator>
      <dc:date>2017-01-19T05:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Query in MySQL database</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3614#M1387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kayne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the query you gave and it works, I have a question, in the Field 'Document Name' it seems like it fetched a garbage name (e.g. a4443108-15cd-447a-ab3c-edf9dff3957b) is this normal? is there a way to fetch the Name the user assigned to the particular document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;June&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 05:38:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3614#M1387</guid>
      <dc:creator>june_cataquez1</dc:creator>
      <dc:date>2017-01-19T05:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Query in MySQL database</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3615#M1388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;SELECT n.id AS "Node ID",&lt;BR /&gt;n.store_id AS "Store ID",&lt;BR /&gt;u.content_size,&lt;BR /&gt;n.uuid AS "Document ID (UUID)",&lt;BR /&gt;n.audit_creator AS "Creator",&lt;BR /&gt;n.audit_created AS "Creation Date",&lt;BR /&gt;n.audit_modifier AS "Modifier",&lt;BR /&gt;n.audit_modified AS "Modification Date",&lt;BR /&gt;p1.string_value AS "Document Name",&lt;BR /&gt;u.content_url AS "Location"&lt;BR /&gt;FROM alf_node AS n,&lt;BR /&gt;alf_node_properties AS p,&lt;BR /&gt;alf_node_properties AS p1,&lt;BR /&gt;alf_namespace AS ns,&lt;BR /&gt;alf_qname AS q,&lt;BR /&gt;alf_content_data AS d,&lt;BR /&gt;alf_content_url AS u&lt;BR /&gt;WHERE n.id=p.node_id&lt;BR /&gt;AND ns.id=q.ns_id&lt;BR /&gt;AND p.qname_id=q.id&lt;BR /&gt;AND p.long_value=d.id&lt;BR /&gt;AND d.content_url_id=u.id&lt;BR /&gt;AND p1.node_id=n.id&lt;BR /&gt;AND p1.qname_id IN (SELECT id FROM alf_qname WHERE local_name='title')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 07:42:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3615#M1388</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2017-01-19T07:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Query in MySQL database</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3616#M1389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kayne,&lt;/P&gt;&lt;P&gt;Thanks, I have another question, can I query all the rows that I added in a Data List (e.g. Contact List or Custom List)?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;June&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 06:56:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/query-in-mysql-database/m-p/3616#M1389</guid>
      <dc:creator>june_cataquez1</dc:creator>
      <dc:date>2017-01-25T06:56:13Z</dc:date>
    </item>
  </channel>
</rss>

