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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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