BookmarkSubscribeRSS Feed
David_Billa
Rhodochrosite | Level 12
Is there a way that we can get the primary key details informations from SQL server table using implicit pass through method?
1 REPLY 1
Kurt_Bremser
Super User

If SQL Server provides a method to create a table from this information, you can retrieve that to SAS.

The equivalent to the SAS dictionary tables seem to be (I just googled a little) the system tables aka System Catalog Views in SQL Server. To know how to query them to find the primary keys, you best ask in a forum oriented on MS SQL Server.

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
  • 1 reply
  • 756 views
  • 0 likes
  • 2 in conversation