Hello Guys, Many thanks for your suggestions. I think I never got so many responses here. First, yes, the Oracle User ID is very different from the user ID of the view user. There is and will never be a match (@DF). We have a thousand users for SAS but not a thousand Oracle USERIDs. @Tom, you pointed it out rightly, I cant use a SAS macro variable in the code that is running on the database, hence my describe view statement always showed the sasuserid of the creator of the view. I was hopeing this can be substituted at runtime but obviously not. Now, we try to do a SAS DATA VIEW to allow putting the sysuserid of the individual executer in the view and create a truly user-dependent-dynamic-view of data. The data is quite large and I wonder how to efficiently link it using a SAS DATA VIEW. I cant merge the tables, it will create millions of rows. Regards, Bob
... View more