<?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: PROC Sql: Syntax Error in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235687#M17003</link>
    <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply, But the pass through facility needs users to be supplied with DB log in User ID and PW. that is security issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to know how to submit the SQL Pass Through facility code without sharing DB Log on Parameters to user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there any way to store the log on UserID/PW&amp;nbsp;in server configuration and share that config reference with users to run Pass through code with that refenrece as part of code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please me know if my question is not clear.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank,&lt;/P&gt;
&lt;P&gt;Ram&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2015 15:01:42 GMT</pubDate>
    <dc:creator>Ram4sas</dc:creator>
    <dc:date>2015-11-20T15:01:42Z</dc:date>
    <item>
      <title>PROC Sql: Syntax Error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235315#M16991</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running out with below Syntax error message for SAS Proc Sql code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the below code is working fine in Sql developer and shared with SAS user to run and collect result,&lt;/P&gt;
&lt;P&gt;but the code through error for sql functions - over, count and (+) in below code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;====================================&lt;/P&gt;
&lt;P&gt;select name,cde_fund_code,id_provider,D.num_check, sak,A.sAcct_rec, C.chk_sak,amt_setup,amt,B.dte_payment_issue,amt_setup -sum(amt)&lt;BR /&gt;over (PARTITION BY A.sak_Acct_rec order by dte_payment_issue ),&lt;BR /&gt;count(amt) over (PARTITION BY A.sak_Acct_rec order by dte_payment_issue )&lt;BR /&gt;from A, B, C, D&lt;BR /&gt;where A.s_fund_code in ( '****','****')&lt;BR /&gt;and B.acct_rec (+) = A.acct_rec&lt;BR /&gt;and C.sak (+) = B.sak &lt;BR /&gt;and D.chk_sak (+) = C.chk_sak;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there any different function to use SAS Proc sql? because its working fine in Sql Developer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to fix this and run the code withut errors?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 17:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235315#M16991</guid>
      <dc:creator>Ram4sas</dc:creator>
      <dc:date>2015-11-18T17:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Sql: Syntax Error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235318#M16992</link>
      <description>SAS doesn't support the same functions as SQL Developer so code that works in Developers shouldn't be expected to work by default in SAS. &lt;BR /&gt;&lt;BR /&gt;Unless you use SQL Pass Through, which will pass the code directly to the SQL Server. &lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#p1f29m86u65hken1deqcybowtgma.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#p1f29m86u65hken1deqcybowtgma.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Nov 2015 17:33:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235318#M16992</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-11-18T17:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Sql: Syntax Error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235687#M17003</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply, But the pass through facility needs users to be supplied with DB log in User ID and PW. that is security issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to know how to submit the SQL Pass Through facility code without sharing DB Log on Parameters to user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there any way to store the log on UserID/PW&amp;nbsp;in server configuration and share that config reference with users to run Pass through code with that refenrece as part of code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please me know if my question is not clear.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank,&lt;/P&gt;
&lt;P&gt;Ram&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235687#M17003</guid>
      <dc:creator>Ram4sas</dc:creator>
      <dc:date>2015-11-20T15:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Sql: Syntax Error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235716#M17009</link>
      <description>Your question is clear, but not one I can answer unfortunately. I think that's a server set up? You may be able to set up users with single sign on and use the DSN setup on their computers, but they would still have access even if they knew the password so I'm not sure what difference that makes. Their user ID on the server should be restricted to read only.</description>
      <pubDate>Fri, 20 Nov 2015 16:15:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235716#M17009</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-11-20T16:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Sql: Syntax Error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235835#M17022</link>
      <description>&lt;P&gt;The users don't need to know the credentials for&amp;nbsp;the DB Server.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0wbhwrrnxrrudn1gh49tm8e30hh.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0wbhwrrnxrrudn1gh49tm8e30hh.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't set-up things as above then you'd also have the same issue with implicit SQL and your libname statement as it's not hard to query a libname definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2015 05:52:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Sql-Syntax-Error/m-p/235835#M17022</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-11-21T05:52:27Z</dc:date>
    </item>
  </channel>
</rss>

