Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2003
    Posts
    23

    Unanswered: Stored procedure that retrieve object name

    Hi to all!
    Is there a system stored procedure that retrieve info or name about an object?
    I must know if a database contains a specific table and i must know if there is a specific DTS.. before execute it..
    someone could help me??

    thx a lot!

    Ale.
    Sorry for my poor english!!


    bye! =)
    Alx_81 =)

  2. #2
    Join Date
    Apr 2004
    Location
    Kansas City, MO
    Posts
    734
    You can just run a query against the database..sysobjects or msdb..sysdtspackages to see if the object exists. Also, look at the INFORMATION_SCHEMA views.
    MeanOldDBA
    derrickleggett@hotmail.com
    When life gives you a lemon, fire the DBA.

  3. #3
    Join Date
    Aug 2003
    Posts
    23

    Wink ok..

    With systables or msdb it was all ok..
    but i asked if is there a Stored procedure..
    however.. thx ;-)

    Ale.
    Alx_81 =)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •