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
 Views with same name as table

Author  Topic 

whizsql
Starting Member

17 Posts

Posted - 2008-12-08 : 09:38:19
Can we create a view with same name as the base table? The view uses only one table, but it resides on same database.
Since I am creating this view for reporting purpose, I want to keep the view name same as the table, to eliminate the changes to the query used for reporting by users.

Please help.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-12-08 : 09:40:39
nope. you cant have a view having same name as an already existing table that is owned by you.
Go to Top of Page
   

- Advertisement -