BookmarkSubscribeRSS Feed
Faizanshaikh
Fluorite | Level 6
Hello all.
I am new in sas community and I am very exciting to join this community for get help of sas programming challenges.
I have a question.
I have a excel file with the some data and same as a table available in sql server so i want know you how can I verify all cells or data of excel sheet with sql server table.
Please let me know any idea for data verification.
Thanks for advance.
3 REPLIES 3
Reeza
Super User
PROC COMPARE is a good place to start but I would expect many issues when importing from Excel and comparing to a DB.

Excel doesn't enforce data types, ie a column can contain a mix of numeric and character data. When SAS imports that data it has to guess at types and lengths, which are usually rigidly enforced in a DB. But PROC COMPARE is a good starting point.
Patrick
Opal | Level 21

To add to what @Reeza wrote: Do you already know how to read Excel data and a SQL Server table into SAS?

Faizanshaikh
Fluorite | Level 6
Yes. I know and this part has been done.

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!

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