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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 alter view
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

219 Posts

Posted - 04/22/2013 :  05:40:39  Show Profile  Send shanmugaraj a Yahoo! Message  Reply with Quote
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.


Very Important crosS Applying yaK Herder

52326 Posts

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

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000