Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2003
    Posts
    311

    Unanswered: finding a view or sp

    According to a developer that worked on my db, there is a view :
    xvw_CheckVoucherReport

    I cant see it is there any way i can find out it exsist and if so what database on my server it is in?

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Enterprise Mangler would use SQL-DMO to show it to you. You could also use SQL Query Analyzer to check the INFORMATION_SCHEMA.VIEWS for it.

    -PatP

  3. #3
    Join Date
    May 2002
    Location
    Timbaktu
    Posts
    185
    Select * from Sysobjects should generate all the objects in your database.

  4. #4
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Originally posted by sqlserver2k
    Select * from Sysobjects should generate all the objects in your database.
    Good point, but information_schema views are a lot friendlier and are portable. Why start bad habits (using system tables) when good ones are easier?

    -PatP

  5. #5
    Join Date
    Aug 2002
    Location
    Scotland
    Posts
    1,578
    I second Pat's proposition ... for not to use SYSTEM TABLES when system supplied SPs and ISVs are provided.
    --Satya SKJ
    Microsoft SQL Server MVP
    [IMG]http://sqlserver-qa.net/google_bart.gif[/IMG]

Posting Permissions

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