.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> Sql Server >> Post New QuestionBookmark and Share Subscribe to Forum

Can we have a Stored Procedure and a table with a same name? if not why?

Posted By: Deco     Posted Date: September 28, 2010    Points:2   Category :Sql Server
Please clarify me. why it's not accepting samename for different objects.

Author: Jean Paul             
Posted Date: September 29, 2010     Points: 5   

Not possible. Under the db level all are of objects with name as unique.
(table, stored procedure, views etc.)

Try select * from sysobjects

Jean Paul http://jeanpaulva.com/

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend