Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 alter view

Author  Topic 

shanmugaraj
Posting Yak Master

219 Posts

Posted - 2013-04-22 : 05:40:39
I have an view which dynamically get column names. There are scenario where i dont get any column name and i want the view to be existing withhout any column name.

THANKS
SHANMUGARAJ
nshanmugaraj@gmail.com

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-04-22 : 05:47:56
you've a add a placeholder in that case using UNION ALL with the default column names

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -