<?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 Calling a SQL Stored Procedure in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Calling-a-SQL-Stored-Procedure/m-p/47482#M2897</link>
    <description>I am having trouble with the code below.  Similar code has worked before and I don't get errors but it doesn't seem to run the stored procedure.&lt;BR /&gt;
&lt;BR /&gt;
Because I don't have rights to run a stored procedure under the schema dbo. I have created one under my own schema nscu\pauspar which I believe is where the problem is.&lt;BR /&gt;
&lt;BR /&gt;
It connects, changes to temptables database.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
PROC SQL;&lt;BR /&gt;
    CONNECT TO ODBC(dsn=nscu070t &lt;BR /&gt;
                    );  &lt;BR /&gt;
    EXECUTE        (use temptables                    &lt;BR /&gt;
                    exec sp_load_contact_history_bird&lt;BR /&gt;
                   )&lt;BR /&gt;
    BY ODBC ;&lt;BR /&gt;
    DISCONNECT FROM ODBC ;&lt;BR /&gt;
QUIT;&lt;BR /&gt;
RUN;</description>
    <pubDate>Tue, 26 Jan 2010 20:42:32 GMT</pubDate>
    <dc:creator>paulsparrow</dc:creator>
    <dc:date>2010-01-26T20:42:32Z</dc:date>
    <item>
      <title>Calling a SQL Stored Procedure</title>
      <link>https://communities.sas.com/t5/Developers/Calling-a-SQL-Stored-Procedure/m-p/47482#M2897</link>
      <description>I am having trouble with the code below.  Similar code has worked before and I don't get errors but it doesn't seem to run the stored procedure.&lt;BR /&gt;
&lt;BR /&gt;
Because I don't have rights to run a stored procedure under the schema dbo. I have created one under my own schema nscu\pauspar which I believe is where the problem is.&lt;BR /&gt;
&lt;BR /&gt;
It connects, changes to temptables database.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
PROC SQL;&lt;BR /&gt;
    CONNECT TO ODBC(dsn=nscu070t &lt;BR /&gt;
                    );  &lt;BR /&gt;
    EXECUTE        (use temptables                    &lt;BR /&gt;
                    exec sp_load_contact_history_bird&lt;BR /&gt;
                   )&lt;BR /&gt;
    BY ODBC ;&lt;BR /&gt;
    DISCONNECT FROM ODBC ;&lt;BR /&gt;
QUIT;&lt;BR /&gt;
RUN;</description>
      <pubDate>Tue, 26 Jan 2010 20:42:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Calling-a-SQL-Stored-Procedure/m-p/47482#M2897</guid>
      <dc:creator>paulsparrow</dc:creator>
      <dc:date>2010-01-26T20:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a SQL Stored Procedure</title>
      <link>https://communities.sas.com/t5/Developers/Calling-a-SQL-Stored-Procedure/m-p/47483#M2898</link>
      <description>The focus of this forum is SAS Stored &lt;B&gt;Processes&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/stpug/61271/HTML/default/a003152554.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/stpug/61271/HTML/default/a003152554.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Someone here may be able to provide you with an answer, but if not, you can try opening a track with our Technical Support department:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_blank"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Tue, 26 Jan 2010 21:04:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Calling-a-SQL-Stored-Procedure/m-p/47483#M2898</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-01-26T21:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a SQL Stored Procedure</title>
      <link>https://communities.sas.com/t5/Developers/Calling-a-SQL-Stored-Procedure/m-p/47484#M2899</link>
      <description>Don't really follow you about what you think is the problem.&lt;BR /&gt;
Can you run this stored procedure with same schema from some other interface to your database (which is...?).&lt;BR /&gt;
If it has something to do with user rights, I suggest that you start by talking to some DBA that manages this DB.&lt;BR /&gt;
/Linus</description>
      <pubDate>Wed, 27 Jan 2010 14:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Calling-a-SQL-Stored-Procedure/m-p/47484#M2899</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2010-01-27T14:54:58Z</dc:date>
    </item>
  </channel>
</rss>

