BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Amarnadh
Obsidian | Level 7

Hi Team,

 

When import the data from MS SQL  Date field (with Date type) to SAS , system converting automatically as Character type, kindly let me know is there any setting which i am missing 

 

Regards,

Amarnadh

 

1 ACCEPTED SOLUTION

Accepted Solutions
JuanS_OCS
Amethyst | Level 16

Hello @Amarnadh,

 

what version of SQL Server have you got? And How are you connecting to it (ODBC, OLEDB, Access to SQL Server)?

 

There is a known issue in SQL Server 2008 if connecting with OLE DB http://support.sas.com/kb/39/188.html

It is also know for the same, connecting with ODBC: http://support.sas.com/kb/40/080.html

 

Hope it helps! 

View solution in original post

3 REPLIES 3
JuanS_OCS
Amethyst | Level 16

Hello @Amarnadh,

 

what version of SQL Server have you got? And How are you connecting to it (ODBC, OLEDB, Access to SQL Server)?

 

There is a known issue in SQL Server 2008 if connecting with OLE DB http://support.sas.com/kb/39/188.html

It is also know for the same, connecting with ODBC: http://support.sas.com/kb/40/080.html

 

Hope it helps! 

Kurt_Bremser
Super User

Do a google search for "sas import MS SQL date" and see if the results are helpful. The two KB articles mentioned by @JuanS_OCS will also pop up, and several related posts here on the communities.

JuanS_OCS
Amethyst | Level 16

Indeed @Kurt_Bremser! I repeatedly suggest diverse SAS communities colleagues to google or search at support.sas.com.

 

I think that should be able to help many people, even quicker than what we can 🙂

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1195 views
  • 2 likes
  • 3 in conversation