SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How To Find SQL Server Objects


How To Find SQL Server Objects

Author
Message
Ashish Kaushal
Ashish Kaushal
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 35
Comments posted to this topic are about the content posted at http://www.sqlservercentral.com/columnists/AKaus



williamhoos@yahoo.com
williamhoos@yahoo.com
Valued Member
Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)

Group: General Forum Members
Points: 51 Visits: 1
It seems like the Object Search (F4) from Query Analyzer accomplishes the same goal with a nice UI for flexible searching?



johncyriac
johncyriac
SSC-Enthusiastic
SSC-Enthusiastic (160 reputation)SSC-Enthusiastic (160 reputation)SSC-Enthusiastic (160 reputation)SSC-Enthusiastic (160 reputation)SSC-Enthusiastic (160 reputation)SSC-Enthusiastic (160 reputation)SSC-Enthusiastic (160 reputation)SSC-Enthusiastic (160 reputation)

Group: General Forum Members
Points: 160 Visits: 58
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





David le Quesne
David le Quesne
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1063 Visits: 32

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...
Don Schaeffer
Don Schaeffer
SSC-Enthusiastic
SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)SSC-Enthusiastic (125 reputation)

Group: General Forum Members
Points: 125 Visits: 4
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.
FreeHansje
FreeHansje
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1267 Visits: 810
Lot of typo's in the script, annoying.

Greetz,
Hans Brouwer
kamoskim
kamoskim
Grasshopper
Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)

Group: General Forum Members
Points: 15 Visits: 12
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/

"

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


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search