BookmarkSubscribeRSS Feed
Alice_Jing
Calcite | Level 5

Hi Team, 

I'd like to load MSSQL data to SAS datasets, however there's a image format data entries as below highlight, any idea on it? 

 

Alice_Jing_0-1675132584498.png

Thanks.

2 REPLIES 2
Patrick
Opal | Level 21

At least with SAS 9.4 there is no matching data type that would allow you to store a mssql image(16) column. 

...but: Given this source column got only a length of 16 the question is "what's in it" and "what do you need it for"?

Depending on content and/or intended use you could eventually cast() it to a data type like varchar() that then can get mapped to a SAS data type.

 

And what Microsoft says:

Patrick_0-1675167306907.png

 

Sajid01
Meteorite | Level 14

SAS 9.4 does not have an image format. However the images can be stored into a folder and the dataset can store the path of the image.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 2 replies
  • 379 views
  • 0 likes
  • 3 in conversation