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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 973 views
  • 0 likes
  • 3 in conversation