BookmarkSubscribeRSS Feed
Ebele
Obsidian | Level 7
In Enterprise Guide if you query a SQL Server table in a pre-assigned library, the metadata attributes are retained to the resulting output dataset.
But if you join two SQL Server tables, then the metadata attributes are -not- retained to the output dataset.

Is there a way to enforce this ?

Background:
The registered library is pointing to a SQL Server database (via Access to OLEDB).
This library is pre-assigned: in the metadata by the checkmark "Library is pre-assigend" and in the autoexec of the SASAPP server containing this line:
libname cdw meta libid=A5JD5D6P.AZ000010;

On the registered tables in the library we changed some attributes like the label and formats on certain columns.

Thanks,
Ebele
1 REPLY 1
TomKari
Onyx | Level 15
This looks like the same problem we have. If it is, SAS Tech Support has confirmed that this is how it works. We find it quite irritating, and have requested that SAS makes it a priority to remedy the problem.

If it's causing you grief as well, I suggest leaning on SAS as well. The more the merrier!

Tom

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1103 views
  • 0 likes
  • 2 in conversation