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

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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