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.

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