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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1387 views
  • 2 likes
  • 3 in conversation