BookmarkSubscribeRSS Feed
omanlap
Calcite | Level 5

Hi,

 

We have a Data Warehouse that consists of views maintained by the DW team. Currently, we are finding that we need to maintain two sets of views: one for our SQL server users and one for the SAS users in our company due to the character limitations in SAS. 

 

We are looking to avoid having to maintain two seperate views and are hoping there is a way to deploy our SAS views without having to modify the tables names and columns as there are a great number of views and columns. 

 

Does anyone have a best approach in dealing with this problem?

 

Thank you so much for any help that you can give regarding this issue. 

2 REPLIES 2
SASKiwi
PROC Star

This post gives a pretty good summary of your options:

https://communities.sas.com/t5/SAS-Data-Management/Long-SQL-Server-via-ODBC-table-names-amp-column-n...

 

What you are currently doing is really the only option if you want to show all these tables properly in the EG server list.

 

SAS have indicated that they are looking at providing better support for > 32 character table and column names but there has been no confirmation of when or if that may happen that I'm aware of.

LinusH
Tourmaline | Level 20

I'm not sure what you are hoping to get as an answer.

Fact: SAS has a limitation for object names.

So what could possible be the solution?

1. Adopt your view accordingly

2. Have you users write SQL pass through queries.

Data never sleeps

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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