How To Find SQL Server Objects

  • Comments posted to this topic are about the content posted at http://www.sqlservercentral.com/columnists/AKaus

  • It seems like the Object Search (F4) from Query Analyzer accomplishes the same goal with a nice UI for flexible searching?

  • We have

    We have to appreciate this work ,this is going to be use full while we are going for development of access control portion of very large database applications.

    For object search purpose the Object Browser of Query analyzer is the best way . It allows palce holders like LIKE statement (%,?,_…) in object name filed

    Regards

    john

  • Well I didn't know about  sp_MSforeachdb, and I didn't know you could press F4 in query analyzer to get an object search tool, so thanks to both of you...

    BR

    David

    If it ain't broke, don't fix it...

  • Per the sample script, you may want to place brackets around the ? in case you have database names containing periods, etc.  There's also a couple minor syntax problems in the example (misplaced #) and quotes being translated into left/right quotes.

  • Lot of typo's in the script, annoying.

    Greetz,
    Hans Brouwer

  • Ashish (and all) --

    Please help.

    I saw the excellent article...

    "

    How To Find SQL Server Objects

    By Ashish Kaushal, 2004/08/17

    http://www.sqlservercentral.com/articles/Advanced+Querying/howtofindsqlserverobjects/1446/[/url]

    "

    ...but I am still stuck because the Sql login that I use to check for SP existence is only a member of the following UserMappings...

    public, db_datawriter

    ...and, as such, that user does not have permissions to query sysobjects, or so it seems because such a query always returns a null result...

    ...so, is there a workaround?

    Please advise.

    Thank you.

    -- Mark Kamoski

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply