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.

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 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 438 views
  • 0 likes
  • 3 in conversation