<?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: Create an Enterprise Guide Query Builder from a Proc SQL job? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898433#M43830</link>
    <description>&lt;P&gt;Is there a lot of commonality in the&amp;nbsp; conversion work you doing? For example, repeating the same joins and selects across many programs? If so, using SAS macros may be a way of doing the changes more efficiently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As with most user interfaces, the SAS Query Builder only goes so far, and it can't provide all of the functionality a coded approach can. That is one of the main reasons, reverse engineering code isn't available.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2023 00:42:49 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2023-10-13T00:42:49Z</dc:date>
    <item>
      <title>Create an Enterprise Guide Query Builder from a Proc SQL job?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898322#M43825</link>
      <description>&lt;P&gt;Hello folks,&amp;nbsp; &amp;nbsp; &amp;nbsp;Does anyone have experience with converting a proc sql job into a query builder by simply cutting and pasting the code?&amp;nbsp; &amp;nbsp;We have an enormous amount of conversion work to complete and manually joining tables, selecting rows and applying filters and sorts to mimic existing sql is going to take a lot of time.&amp;nbsp; &amp;nbsp;Is there a wizard or a custom task option that would in essence reverse the extract code feature available from a query builder?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 14:09:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898322#M43825</guid>
      <dc:creator>RHenson</dc:creator>
      <dc:date>2023-10-12T14:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Enterprise Guide Query Builder from a Proc SQL job?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898326#M43826</link>
      <description>&lt;P&gt;I am not aware of a such toiol.&lt;/P&gt;
&lt;P&gt;The only similar tool I know about is the Code Importer in SAS Data Integrations studio.&lt;/P&gt;
&lt;P&gt;A thing that might help you navigate and undestand your massive code base is PROC SCAPROC, which analyzes your programs and document them in a structured way.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n05aazp6jtoup0n1qjee3h7jto24.htm" target="_blank"&gt;SAS Help Center: SCAPROC Procedure&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 14:25:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898326#M43826</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-10-12T14:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Enterprise Guide Query Builder from a Proc SQL job?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898418#M43829</link>
      <description>&lt;P&gt;If you've got already working SQL code then why can't you just move this code to a SAS EG program node? What would be the advantage to have this logic implemented via a query builder node?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 21:34:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898418#M43829</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2023-10-12T21:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Enterprise Guide Query Builder from a Proc SQL job?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898433#M43830</link>
      <description>&lt;P&gt;Is there a lot of commonality in the&amp;nbsp; conversion work you doing? For example, repeating the same joins and selects across many programs? If so, using SAS macros may be a way of doing the changes more efficiently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As with most user interfaces, the SAS Query Builder only goes so far, and it can't provide all of the functionality a coded approach can. That is one of the main reasons, reverse engineering code isn't available.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 00:42:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898433#M43830</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-10-13T00:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Enterprise Guide Query Builder from a Proc SQL job?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898484#M43838</link>
      <description>&lt;P&gt;Hi Patrick, thanks for responding.&amp;nbsp; &amp;nbsp;We've got a large group of users in multiple departments who are versed in editing their own ad-hoc reports using EG Query Builders.&amp;nbsp; &amp;nbsp;I fully understand that copy/pasting into a program node would get the same results, it's just that we're trying to keep the conversion process as familiar to the end users as possible.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 13:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898484#M43838</guid>
      <dc:creator>RHenson</dc:creator>
      <dc:date>2023-10-13T13:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Enterprise Guide Query Builder from a Proc SQL job?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898566#M43840</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/457481"&gt;@RHenson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SQL is a widely used and transferrable skillset that's very valuable in many scenarios (example: using Python interfacing with a database).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your userbase really doesn't have these SQL skills already then I'd consider to invest into some SQL training as part of change management.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;already pointed out: "As with most user interfaces, the SAS Query Builder only goes so far, and it can't provide all of the functionality a coded approach can."&lt;/P&gt;
&lt;P&gt;Even if you would manage to develop some conversion tool it would likely still not allow to express all your existing code via the existing EG transformation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 23:52:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898566#M43840</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2023-10-13T23:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Enterprise Guide Query Builder from a Proc SQL job?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898581#M43841</link>
      <description>&lt;P&gt;If I understand correctly, what you would need is a SQL parser. From there, you could use the syntax tree to generate the Query Builder components and/or movements if simulating a UI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SQL parsing is not a trivial task. Combine that with the fact that SAS SQL is a different syntax than just ANSI SQL and you have a real challenge.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ultimately, it will be far more work for you to do the parsing. You can look at generic parsers for SQL but they tend to be specific. After getting the statements parsed out, you then need to automate the query building process.&amp;nbsp; Better SQL parsers are very, very expensive.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have repetitive tasks that can be logically described in a UI, use UiPath and script the human movement. UiPath is an RPA tool and can dramatically speed up repetitive manual tasks. You should be able to use their desktop version. Takes a bit of getting used to but you will never go back to manual, repetitive tasks again. Wonderful product.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 02:44:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898581#M43841</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-10-14T02:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Enterprise Guide Query Builder from a Proc SQL job?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898588#M43842</link>
      <description>&lt;P&gt;Trying to squeeze code into the confines of the Query Builder is like going back from Gutenberg to stone tables, hammer and chisel.&lt;/P&gt;
&lt;P&gt;Instead of further hampering your users by restricting them to a helper tool, make them SQL literate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 05:59:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-an-Enterprise-Guide-Query-Builder-from-a-Proc-SQL-job/m-p/898588#M43842</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-10-14T05:59:09Z</dc:date>
    </item>
  </channel>
</rss>

