<?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: Error to export datetime into SQL Server in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685484#M207897</link>
    <description>&lt;P&gt;Using this code, I got an error on SAS and for SQL Server printed missing:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
	INSERT INTO work.table
	VALUES( 2, '1893369600'dt) ;
quit;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;ERROR: Invalid date/time/datetime constant '1893369600'dt.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;/PRE&gt;&lt;P&gt;Using this one, in SAS it worked, and on SQL Server missing:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
	INSERT INTO work.table
	VALUES( 2, '01Jan1900:00:00:00'dt) ;
quit;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2020 17:02:26 GMT</pubDate>
    <dc:creator>masiqmoselli</dc:creator>
    <dc:date>2020-09-21T17:02:26Z</dc:date>
    <item>
      <title>Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685434#M207877</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm trying to export SAS data to SQL Server. This date comes from a SQL Server and goes to another instance (SQL Server as well), whenever I try to export a number or text it run nicely, but on datetime I got an error:&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;PRE class="sasLog"&gt;NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
ERROR: Error attempting to CREATE a DBMS table. ERROR: CLI execute error: [SAS][ODBC 20101 driver][Microsoft SQL Server]Line 1: 
       Specified scale 27 is invalid..&lt;/PRE&gt;&lt;P&gt;I'm simply trying to export this table from my work, to SQL Server, this happens just when I try to export this datetime column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some infos about the table:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Just two columns, the first is number and the second is datetime.&lt;/LI&gt;&lt;LI&gt;SAS is recognizing datetime informat as: datetime22.3;&lt;/LI&gt;&lt;LI&gt;Trying to do it with proc sql:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
CREATE TABLE SQLSERVER.table2 AS SELECT c1_number, c2_date FROM work.table; QUIT;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 14:00:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685434#M207877</guid>
      <dc:creator>masiqmoselli</dc:creator>
      <dc:date>2020-09-21T14:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685457#M207885</link>
      <description>&lt;P&gt;So are you taking data from one SQL Server table, pulling it into SAS, and then writing it out to a second SQL Server table?&amp;nbsp; I assume that's what you're doing since you're specifying a WORK.table in your Create Table AS (CTAS) type SQL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think their is some kind of conversion going on.&amp;nbsp; SQL Server uses one basis for datetime (number of seconds since Jan 1, 1900) whereas SAS uses another (number of seconds since Jan 1, 1960).&amp;nbsp; I suspect that one has to do a conversion as you &lt;STRONG&gt;push&amp;nbsp;&lt;/STRONG&gt;data to SQL Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you first verified that the datetime stamps coming&amp;nbsp;&lt;STRONG&gt;from&lt;/STRONG&gt; SQL Server make sense?&amp;nbsp; If they make sense, then I assume that SAS is automatically compensating for the difference between SQL Server datetime and SAS datetime as you &lt;STRONG&gt;pull&amp;nbsp;&lt;/STRONG&gt;data.&amp;nbsp; If not, you probably need to apply a conversion when you pull from as well as push to SQL Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 15:21:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685457#M207885</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-09-21T15:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685460#M207886</link>
      <description>&lt;P&gt;Hello Jim,&lt;/P&gt;&lt;P&gt;Yes probably SAS is making some conversion, the date on SQL Server makes sense the format is: yyyy-mm-dd:hh:mm:ss. But I searched for this format and SAS do not have specifically this one, so I tried to use informat as SAS specifies: datetime22.3, and anothers like: datetime20., datetime20.2.&lt;/P&gt;&lt;P&gt;I tried the conversion, returning each part of the date: year, month, day, etc. And put it together in an string, and try to convert into SAS date. But since SAS don't have this format, I got this errors.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 15:10:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685460#M207886</guid>
      <dc:creator>masiqmoselli</dc:creator>
      <dc:date>2020-09-21T15:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685464#M207888</link>
      <description>&lt;P&gt;If I run this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%LET	SQL_Server_Basis_d	=	'01Jan1900'd;
%LET	SQL_Server_Basis_dt	=	'01Jan1900:00:00:00'dt;
%LET	SAS_Basis_d			=	'01Jan1960'd;
%LET	SAS_Basis_dt		=	'01Jan1960:00:00:00'dt;

%LET	Difference_Days		=	%SYSEVALF(&amp;amp;SAS_Basis_d	-	&amp;amp;SQL_Server_Basis_d);
%LET	Difference_Secs		=	%SYSEVALF(&amp;amp;SAS_Basis_dt	-	&amp;amp;SQL_Server_Basis_dt);

OPTION	NOSOURCE;
%PUT	NOTE:  &amp;amp;=Difference_Days;
%PUT	NOTE-  &amp;amp;=Difference_Secs;
OPTION	&amp;amp;Save_Opts;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get these results:&lt;/P&gt;
&lt;PRE&gt;NOTE:  DIFFERENCE_DAYS=21914
       DIFFERENCE_SECS=1893369600
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try adding&amp;nbsp;1893369600 to your SAS datetime in WORK.table before you do your CTAS query.&amp;nbsp; If the scale error disappears, then we probably have identified the basic problem.&amp;nbsp; We may need to make some adjustments from there, but we'll at least know the underlying problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 15:23:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685464#M207888</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-09-21T15:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685466#M207890</link>
      <description>Got the same result here:&lt;BR /&gt;&lt;BR /&gt;NOTE: DIFFERENCE_DAYS=21914&lt;BR /&gt;DIFFERENCE_SECS=1893369600</description>
      <pubDate>Mon, 21 Sep 2020 15:25:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685466#M207890</guid>
      <dc:creator>masiqmoselli</dc:creator>
      <dc:date>2020-09-21T15:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685470#M207891</link>
      <description>&lt;P&gt;OK, good.&amp;nbsp; We have the same values in terms of the difference between SAS and SQL Server.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried adding the difference to the datetime value in SAS before you try to write to SQL Server?&amp;nbsp; I'm hoping this will eliminate the scale error.&amp;nbsp; We still would need to confirm that the actual values match the original table, but I'd like to see if this eliminates the scale error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 15:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685470#M207891</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-09-21T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685482#M207895</link>
      <description>&lt;P&gt;Using this PROC SQL returns missing in SQL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
INSERT INTO SQLSERVER.table
VALUES( 2, '01Jan1900:00:00:00'dt) ;
quit;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Using to insert in a SAS table, the value is inserted.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
INSERT INTO work.table
VALUES( 2, '01Jan1900:00:00:00'dt) ;
quit;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to use the value&amp;nbsp;&lt;SPAN&gt;1893369600 in SQL server I got missing value, and on SAS returned this error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC SQL;&lt;BR /&gt;INSERT INTO work.table&lt;BR /&gt;VALUES( 2, '1893369600'dt) ;&lt;BR /&gt;quit;&lt;BR /&gt;run;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: Invalid date/time/datetime constant '1893369600'dt.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 16:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685482#M207895</guid>
      <dc:creator>masiqmoselli</dc:creator>
      <dc:date>2020-09-21T16:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685484#M207897</link>
      <description>&lt;P&gt;Using this code, I got an error on SAS and for SQL Server printed missing:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
	INSERT INTO work.table
	VALUES( 2, '1893369600'dt) ;
quit;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;ERROR: Invalid date/time/datetime constant '1893369600'dt.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;/PRE&gt;&lt;P&gt;Using this one, in SAS it worked, and on SQL Server missing:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
	INSERT INTO work.table
	VALUES( 2, '01Jan1900:00:00:00'dt) ;
quit;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 17:02:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685484#M207897</guid>
      <dc:creator>masiqmoselli</dc:creator>
      <dc:date>2020-09-21T17:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685486#M207899</link>
      <description>&lt;P&gt;The number&amp;nbsp;1893369600 is just that, a number.&amp;nbsp; It's the number of seconds different between the way SAS represents a datetime value vs. how SQL server represents a datetime value.&amp;nbsp; The number&amp;nbsp;1893369600 cannot be used in a '1893369600'dt construct.&amp;nbsp; What I'm suggesting is that you &lt;EM&gt;add&lt;/EM&gt;&amp;nbsp;1893369600 to the datetime values in your SAS Work dataset and see if the scale error disappears.&amp;nbsp; Remember, a SAS datetime value is &lt;EM&gt;stored&amp;nbsp;&lt;/EM&gt;as the number of seconds.&amp;nbsp; No matter how a datetime value is&amp;nbsp;&lt;EM&gt;formatted,&amp;nbsp;&lt;/EM&gt;a datetime value is&amp;nbsp;&lt;EM&gt;stored&lt;/EM&gt; as a number.&amp;nbsp; By adding 1893369600, we adjust for the difference between how SAS represents datetime values vs. how SQL server represents datetime values.&amp;nbsp; We may not be completely done at that point, but perhaps we can get rid of the scale error.&amp;nbsp; Maybe.&amp;nbsp; I've encountered this representation difference before with Excel, so I'm thinking this may be the same issue, so I'm suggesting we try this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code would look something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;**  First get a datetime variable (column) from the original SQL Server table  **;
PROC SQL;
  CREATE TABLE WORK.MySASWorkTable  AS
    SELECT Some_Datetime_Var FROM SQLsrvr1.TheOriginalTable;
QUIT:

**  Second add 1893369600 to the Datetime value  **;
DATA   Work.Adjusted_Values;
  SET  WORK.MySASWorkTable;
   Some_Datetime_Var = Some_Datetime_Var + 1893369600;
RUN;

**  Third, create the new SQL Server table  **;
PROC SQL;
  CREATE TABLE SQLsrvr2.TheNewTable  AS
    SELECT * FROM WORK.MySASWorkTable;
QUIT:
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 17:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685486#M207899</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-09-21T17:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685494#M207902</link>
      <description>&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;Sorry for the misunderstanding. So I've executed as you asked and got the same error when exporting to SQL Server. The sum of the dates went well on SAS.&lt;/P&gt;&lt;PRE&gt;NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
ERROR: Error attempting to CREATE a DBMS table. ERROR: CLI execute error: [SAS][ODBC 20101 driver][Microsoft SQL Server]Line 1: 
       Specified scale 27 is invalid..&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 18:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685494#M207902</guid>
      <dc:creator>masiqmoselli</dc:creator>
      <dc:date>2020-09-21T18:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685497#M207905</link>
      <description>&lt;P&gt;OK, well, so much for that idea.&amp;nbsp; It sounds like that's not the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found this in a Google search:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledgebase.progress.com/articles/Article/Specified-scale-27-is-invalid-error-with-SQL-Server-ODBC-driver" target="_blank"&gt;https://knowledgebase.progress.com/articles/Article/Specified-scale-27-is-invalid-error-with-SQL-Server-ODBC-driver&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps it's the driver?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 18:33:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685497#M207905</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-09-21T18:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685602#M207952</link>
      <description>&lt;P&gt;The problem may be that SAS generally puts timestamps into the SQL Server DATETIME data type. This may not have enough precision for 3 decimals.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you try something like&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
  CREATE TABLE SQLSERVER.table2(DBTYPE=(c2_date='DATETIME2'))  AS
  SELECT c1_number, c2_date FROM work.table; 
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;as the DATETIME2 datatype has sufficient precision.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 07:24:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685602#M207952</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2020-09-22T07:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685665#M207986</link>
      <description>&lt;P&gt;Hello Jim, we make this configuration as you suggest. On 9.4 it worked, but did not worked on viya. Trying to reach other solution for Viya.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 12:07:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685665#M207986</guid>
      <dc:creator>masiqmoselli</dc:creator>
      <dc:date>2020-09-22T12:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error to export datetime into SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685676#M207988</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/76464"&gt;@s_lassen&lt;/a&gt;&amp;nbsp;using the DBTYPE worked, I created the table and it allows me to simply insert data latter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37107"&gt;@jimbarbour&lt;/a&gt;&amp;nbsp;Thank you as well, the link you sent also worked, and is a configurantion for the 9.4.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 12:36:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-export-datetime-into-SQL-Server/m-p/685676#M207988</guid>
      <dc:creator>masiqmoselli</dc:creator>
      <dc:date>2020-09-22T12:36:55Z</dc:date>
    </item>
  </channel>
</rss>

