<?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 create table on SQL server using SAS in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-table-on-SQL-server-using-SAS/m-p/1174#M331</link>
    <description>Can I create table on SQL server using SAS?&lt;BR /&gt;
How?&lt;BR /&gt;
I like physical create tables, and insert the data.&lt;BR /&gt;
I can connect using ODBC.&lt;BR /&gt;
Not sure how to create tables on SQL server using ODBC connection.&lt;BR /&gt;
Any suggestions?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Tue, 01 Aug 2006 14:07:32 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-08-01T14:07:32Z</dc:date>
    <item>
      <title>create table on SQL server using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-table-on-SQL-server-using-SAS/m-p/1174#M331</link>
      <description>Can I create table on SQL server using SAS?&lt;BR /&gt;
How?&lt;BR /&gt;
I like physical create tables, and insert the data.&lt;BR /&gt;
I can connect using ODBC.&lt;BR /&gt;
Not sure how to create tables on SQL server using ODBC connection.&lt;BR /&gt;
Any suggestions?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Tue, 01 Aug 2006 14:07:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-table-on-SQL-server-using-SAS/m-p/1174#M331</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-01T14:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: create table on SQL server using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-table-on-SQL-server-using-SAS/m-p/1175#M332</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
You would need to use SAS/Access to ODBC (or OLEDB) to define a SAS library that maps to your SQL Server database.  Then you should be able to create data sets using any of the usual SAS methods (PROC SQL, DATA step, etc) that reside in that library, and therefore the SQL Server database.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Thu, 03 Aug 2006 19:51:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-table-on-SQL-server-using-SAS/m-p/1175#M332</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2006-08-03T19:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: create table on SQL server using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-table-on-SQL-server-using-SAS/m-p/1176#M333</link>
      <description>but I got problem to load large sas data set (88 million rows) to SQL server.&lt;BR /&gt;
it alway reaches to 65457 and then stop. there is NOT sas log error or warning. just stuck here and on the SQL server side you see the talbe is NOT growing only has 65457 records.&lt;BR /&gt;
On the unix sas server side. We have set up the ODBC. INI file correctly and set up a libname as follow in our SAS code and the library has been successfully established.&lt;BR /&gt;
libname sql_side sqlsvr dsn=ACESQL uid=8FN  pwd=XXXXXX schema=dbo ; &lt;BR /&gt;
we use proc copy to load sas data to sql server, but whenever reach to 65547 and then it stop.&lt;BR /&gt;
It seemed that someone told me to use a “commit” function or command to let sql server accept and commit the records first and then it can load more?? Please help!!</description>
      <pubDate>Mon, 04 Apr 2011 23:26:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-table-on-SQL-server-using-SAS/m-p/1176#M333</guid>
      <dc:creator>bobyang</dc:creator>
      <dc:date>2011-04-04T23:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: create table on SQL server using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-table-on-SQL-server-using-SAS/m-p/1177#M334</link>
      <description>I think obs 65458 contains some illegal character in that table, So when SAS transcode it fail,SAS will stop read in the obs after it.I meet this situation frequently.&lt;BR /&gt;
So Check the dataset' s variable attribute. to see whether the length of some variables is &lt;BR /&gt;
very long (e.g. 32700) or is zero.&lt;BR /&gt;
You 'd better to open the table to see content to find whether  there are some strange character.&lt;BR /&gt;
Then drop these variables , you will successfully imported.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Thu, 07 Apr 2011 10:25:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/create-table-on-SQL-server-using-SAS/m-p/1177#M334</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-04-07T10:25:54Z</dc:date>
    </item>
  </channel>
</rss>

