Exforsys
+ Reply to Thread
Results 1 to 4 of 4

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 ...

  1. #1
    sammy is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    144

    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.


  2. #2
    manujaidka is offline Junior Member Array
    Join Date
    Jun 2007
    Answers
    2
    Please try this query

    select * from sysobjects where status not like '-%'


  3. #3
    cyrus is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    128
    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.


  4. #4
    a.karrabi is offline DataBase Lover Array
    Join Date
    Oct 2007
    Answers
    3
    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



Latest Article

Network Security Risk Assessment and Measurement

Read More...