<?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, stored procedures (SQL)&amp; input parameters to SQL database in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-stored-procedures-SQL-input-parameters-to-SQL-database/m-p/71646#M20688</link>
    <description>This thread might give you something...&lt;BR /&gt;
&lt;BR /&gt;
/Linus&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=3757" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=3757&lt;/A&gt;</description>
    <pubDate>Wed, 16 Sep 2009 06:23:52 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2009-09-16T06:23:52Z</dc:date>
    <item>
      <title>PROC SQL, stored procedures (SQL)&amp; input parameters to SQL database</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-stored-procedures-SQL-input-parameters-to-SQL-database/m-p/71645#M20687</link>
      <description>Hello all; &lt;BR /&gt;
I am now just learning PROC SQL. I have a MS SQL database that I need to connect to. The SQL admin has made it that I have to pass along specific input parameters called:&lt;BR /&gt;
&lt;BR /&gt;
@BeginDate smalldatetime, &lt;BR /&gt;
@EndDate smalldatetime&lt;BR /&gt;
&lt;BR /&gt;
into a stored procedure&lt;BR /&gt;
which are dates.&lt;BR /&gt;
&lt;BR /&gt;
Where do I put these parametrs? I have tried different variations without success.&lt;BR /&gt;
&lt;BR /&gt;
Code is below;&lt;BR /&gt;
Thank you for your help.&lt;BR /&gt;
&lt;BR /&gt;
Lawrence&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
connect to oledb(provider=sqloledb dsn='SQLMCB23' properties=("Integrated Security"=SSPI "Persist Security Info"=True));&lt;BR /&gt;
create table table1 as select * from connection to oledb (prcCRBSIpull);&lt;BR /&gt;
quit;

Message was edited by: ~LB</description>
      <pubDate>Tue, 15 Sep 2009 21:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-stored-procedures-SQL-input-parameters-to-SQL-database/m-p/71645#M20687</guid>
      <dc:creator>_LB</dc:creator>
      <dc:date>2009-09-15T21:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL, stored procedures (SQL)&amp; input parameters to SQL database</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-stored-procedures-SQL-input-parameters-to-SQL-database/m-p/71646#M20688</link>
      <description>This thread might give you something...&lt;BR /&gt;
&lt;BR /&gt;
/Linus&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=3757" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=3757&lt;/A&gt;</description>
      <pubDate>Wed, 16 Sep 2009 06:23:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-stored-procedures-SQL-input-parameters-to-SQL-database/m-p/71646#M20688</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-09-16T06:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL, stored procedures (SQL)&amp; input parameters to SQL database</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-stored-procedures-SQL-input-parameters-to-SQL-database/m-p/71647#M20689</link>
      <description>Thanks Linus!</description>
      <pubDate>Fri, 25 Sep 2009 18:01:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-stored-procedures-SQL-input-parameters-to-SQL-database/m-p/71647#M20689</guid>
      <dc:creator>_LB</dc:creator>
      <dc:date>2009-09-25T18:01:22Z</dc:date>
    </item>
  </channel>
</rss>

