BookmarkSubscribeRSS Feed
Ebele
Obsidian | Level 7
Hi,
I have registered SQL Server tables in the metadata.
In the registered metadata, I have changed some attributes like column formats and column descriptions. Attributes which cannot be stored in the SQL server table.

When I query the table using the query builder in EG 4.3 through a library assigned with metadata libname engine,
the formats / labels are not retained to the resulting table.

Is there a way to achieve this ?

Thanks,
Ebele
2 REPLIES 2
Patrick
Opal | Level 21
Hi

The library needs to be pre-assigned in order for table metadata to be used.

Eventually you could add option "defer=yes" to the metadata library definition so the connection to the database will only be established when you actually use one of the tables (at least I think this is how it works).

Do NOT use "defer=yes" if this is an OLEDB connection: http://support.sas.com/kb/41/581.html


HTH
Patrick
Ebele
Obsidian | Level 7
Hi Patrick... yes, that's it!
I thought using the meta engine would be enough, but you also need to pre-assign it.
Thanks a lot.
Ebele

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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