
- Forum
- Database
- SQL Server
- Help to Resolve the Problem
Help to Resolve the Problem
This is a discussion on Help to Resolve the Problem within the SQL Server forums, part of the Database category; I am facing a problem with system objects. My requirement is that I do not want the system objects to ...
-
Help to Resolve the Problem
I am facing a problem with system objects. My requirement is that I do not want the system objects to be displayed when I make a query on sysobjects table. Is there any way for achieving this? Kindly suggest me.
-
06-24-2007, 11:05 AM #2
- Join Date
- Jun 2007
- Answers
- 2
Please try this query
select * from sysobjects where status not like '-%'
-
There is surely various ways of avoiding system objects from being displayed when you make a query on sysobjects table. One of the ways of achieving the above is as below:
Select * from sysobjects where xtype<>'s'
The above would avoid the system objects from being displayed.
-
there is a field that show you object type "TYPE" .
type of object that you create it if 'u'.
select * from sys.objects where type = 'u'
-
Sponsored Ads
«
SQL Server 2005
|
import file
»

Reply With Quote





