<?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 run MS SQL 2005 stored procedures without MS SQL in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10300#M970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Also there is no equivalent functionality in SAS SQL that is similar to the row by row control available in MS SQL stored procedures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not have Microsoft SQL Server, would I be correct in assuming you would be storing your data in SAS datasets anyway?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is the case then you could completey re-engineer what the MS SQL stored procedures are doing using the SAS DATA step to get the row by row control required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2011 19:48:25 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2011-12-07T19:48:25Z</dc:date>
    <item>
      <title>PROC SQL run MS SQL 2005 stored procedures without MS SQL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10297#M967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can SAS PROC SQL run Microsoft SQL 2005 stored procedures without relying on Microsoft SQL?&amp;nbsp; ﻿﻿The SAS SQL Pass-Through Facility requires a database with procedure objects in it and I assume an instance of MS SQL running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming no database objects existed in MS SQL 2005 or even if there was no instance of MS SQL Server, can SAS run SQL stored procedures?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would need to use MS SQL commands like declare, fetch, exec, begin transation and others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before rewriting a SAS solution I wanted to check if we could just copy our stored procedures and run them as is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 17:17:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10297#M967</guid>
      <dc:creator>Alan</dc:creator>
      <dc:date>2011-12-07T17:17:04Z</dc:date>
    </item>
    <item>
      <title>PROC SQL run MS SQL 2005 stored procedures without MS SQL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10298#M968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, SAS cannot interperet stored procedures written for Microsoft SQL Server natively.&amp;nbsp; The pass through facility relys on the dbms existing and having the objects there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 17:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10298#M968</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-12-07T17:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL run MS SQL 2005 stored procedures without MS SQL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10299#M969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, but you should be able to call a stored procedure using the pass through facility and then read or import the results into SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMO SQL can do most things that SAS can do, unless you're doing statistical analysis, then SAS is the tool that you'd want. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 17:47:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10299#M969</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2011-12-07T17:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL run MS SQL 2005 stored procedures without MS SQL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10300#M970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Also there is no equivalent functionality in SAS SQL that is similar to the row by row control available in MS SQL stored procedures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not have Microsoft SQL Server, would I be correct in assuming you would be storing your data in SAS datasets anyway?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is the case then you could completey re-engineer what the MS SQL stored procedures are doing using the SAS DATA step to get the row by row control required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 19:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10300#M970</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2011-12-07T19:48:25Z</dc:date>
    </item>
    <item>
      <title>PROC SQL run MS SQL 2005 stored procedures without MS SQL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10301#M971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies everyone.&amp;nbsp; So I'll start reengineering it in SAS.&amp;nbsp; Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 13:53:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-run-MS-SQL-2005-stored-procedures-without-MS-SQL/m-p/10301#M971</guid>
      <dc:creator>Alan</dc:creator>
      <dc:date>2011-12-14T13:53:34Z</dc:date>
    </item>
  </channel>
</rss>

