Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,


I am using mssql2008 r2 version. I saw the query sys.Procedures to get procedure list but that query giving me invalid object name sys.procedures

this repeats for sys.objects also .. anybody know whats the problem?? My Version???

hai.. I got issue for sys.objects, sys.procedures , sys.all_objects.... I need to know y its happening .. I know the querys to retrieve ...

Thanks,
Sarathkumar.N
Posted
Updated 9-Jan-13 1:28am
v3

SQL
Select * from Sysobjects where type='p'
 
Share this answer
 
Comments
Sarathkumar Nallathamby 9-Jan-13 7:27am    
hai.. I got issue for sys.objects, sys.procedures , sys.all_objects.... I need to know y its happening....
Try this one:
SQL
SELECT NAME FROM SYS.ALL_OBJECTS WHERE type='P'
 
Share this answer
 
Comments
Sarathkumar Nallathamby 9-Jan-13 7:27am    
hai.. I got issue for sys.objects, sys.procedures , sys.all_objects.... I need to know y its happening....
Zoltán Zörgő 9-Jan-13 7:55am    
I don't know either. Above query work fine on an SQL 2008R2 Std. What is the error message you get?
Sarathkumar Nallathamby 10-Jan-13 7:37am    
I Got invalid object name sys.Procedures,.. sys.objects also same error..
Zoltán Zörgő 10-Jan-13 8:06am    
Are you admin?
Sarathkumar Nallathamby 10-Jan-13 8:22am    
lol..Nope.. asp.net Developer only.. Y buddy??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900