ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister
Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters

CompTIA Exam Vouchers
Save money on CompTIA exams
Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more

* ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i

Online practice tests

Certification sites

Online university

Online college

Online education

Distance learning

Software forum

Server administration forum

Programming resources






This is interesting: Free IT Magazines | Databases help forum



Microsoft (MCSE, MCSD, MOUS, MCAD) > SQL server exams > Object Search

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread




Click here for list of SQL 2000 study guides



Author Object Search
cocolocopolo
Senior Member




Registered: Apr 2001
Location: Los Angeles
Country: USA
State:
Certifications: A+, Network+, CCNA
Working on: MCDBA

Total Posts: 287
Object Search

Recently, I tried how to use "Object Search". This is what I did:

From the "Object Search" window, I typed:

Object name: sp_lock
Datase: <all> (this is default, I didn't change it)
Hint limit: 100 (thisis default, I didn't change it)

Then I put checks on:
system table
user table
View
Store procedure
user defined function

Then I clicked on "Find now" button, and it came up "1 row".

Now my question is how do I know "where" is this sp_lock ??? in Master? or in Pubs? How can I tell where it is???

Thanks for advice.

__________________
cocolocopolo

Report this post to a moderator

Old Post 07-06-02 04:03 PM
cocolocopolo is offline Click Here to See the Profile for cocolocopolo Click here to Send cocolocopolo a Private Message Add cocolocopolo to your buddy list Find more posts by cocolocopolo Reply w/Quote Edit/Delete Message IP: Logged
prajuab
Junior Member
M




Registered: Apr 2002
Location:
Country: Thailand
State:
Certifications: MCSD, MCDBA, MCSA
Working on: MCAD

Total Posts: 14

My QA shown the [db name] column which is 'master', And all sp_% (system stored procedure) should be in 'master'.

Report this post to a moderator

Old Post 07-09-02 01:31 AM
prajuab is offline Click Here to See the Profile for prajuab Click here to Send prajuab a Private Message Add prajuab to your buddy list Find more posts by prajuab Reply w/Quote Edit/Delete Message IP: Logged
cocolocopolo
Senior Member




Registered: Apr 2001
Location: Los Angeles
Country: USA
State:
Certifications: A+, Network+, CCNA
Working on: MCDBA

Total Posts: 287

Thanks prajuab.

Some of sp are in Master, but some are not.

What I try to understand is, "how" do we
know in Master?

By experience ??? or I have to post each sp
in the forum for help ???

Thanks again.

__________________
cocolocopolo

Report this post to a moderator

Old Post 07-09-02 04:31 AM
cocolocopolo is offline Click Here to See the Profile for cocolocopolo Click here to Send cocolocopolo a Private Message Add cocolocopolo to your buddy list Find more posts by cocolocopolo Reply w/Quote Edit/Delete Message IP: Logged
necrophantasm
Senior Member
M




Registered: Mar 2001
Location:
Country: United States
State:
Certifications: A+, N+, I-N+, Lx+, Sec+, Ser+, CCNP,CCDP, MCDST, MCSA, MCSE, MCTS, MCITP, CIW-A, MCDBA, MCT
Working on: MCITP Vista; CCSP

Total Posts: 372
hmm...

I tried this feature too. However, when I did it in query analyzer, instead of just coming up with "1 row affected" I actually got the row data itself. The row listed the database it was found in, the object owner, object name, and object type. Is there another place to use object search? Maybe I just used it in a different place. Try it in query analyzer and see what comes up.

Report this post to a moderator

Old Post 07-09-02 01:36 PM
necrophantasm is offline Click Here to See the Profile for necrophantasm Click here to Send necrophantasm a Private Message Add necrophantasm to your buddy list Find more posts by necrophantasm Reply w/Quote Edit/Delete Message IP: Logged
cocolocopolo
Senior Member




Registered: Apr 2001
Location: Los Angeles
Country: USA
State:
Certifications: A+, Network+, CCNA
Working on: MCDBA

Total Posts: 287

Thanks necrophantasm.

This is what I tried to understand:

Before you an execute stored procedure in Editor
Pane (Query Analyzer), you have to select the
correct database.

Suppose I am going to execute sp_add_operator.

But before I can type "Exec sp_add_operator", I have to select the correct database.

How do I know sp_add_operator is under master?
or under Pubs? or under ???

So, I tried use "Object Search" to find out
where is the sp_add_operator.

If I use "Object Search", it only comes up (1 row). But it did not show up "where" you can find
the sp_add_operator.

Without selecting the correct database and try to
execute this procedure only got error "Could not find stored procedure 'sp_add_operator"

__________________
cocolocopolo

Report this post to a moderator

Old Post 07-10-02 05:32 AM
cocolocopolo is offline Click Here to See the Profile for cocolocopolo Click here to Send cocolocopolo a Private Message Add cocolocopolo to your buddy list Find more posts by cocolocopolo Reply w/Quote Edit/Delete Message IP: Logged
necrophantasm
Senior Member
M




Registered: Mar 2001
Location:
Country: United States
State:
Certifications: A+, N+, I-N+, Lx+, Sec+, Ser+, CCNP,CCDP, MCDST, MCSA, MCSE, MCTS, MCITP, CIW-A, MCDBA, MCT
Working on: MCITP Vista; CCSP

Total Posts: 372
hmmm again

If you do the object search with the database setting to "all" then in the db_name column of the result set it should list the location of the stored procedure (in my case it was in the MSDB database). However, if there were multiple instances of the same object, I think it would list exactly which databases had the object. Hope this helps a little

Report this post to a moderator

Old Post 07-10-02 11:17 AM
necrophantasm is offline Click Here to See the Profile for necrophantasm Click here to Send necrophantasm a Private Message Add necrophantasm to your buddy list Find more posts by necrophantasm Reply w/Quote Edit/Delete Message IP: Logged
cocolocopolo
Senior Member




Registered: Apr 2001
Location: Los Angeles
Country: USA
State:
Certifications: A+, Network+, CCNA
Working on: MCDBA

Total Posts: 287

Dear necrophantasm:

I am sorry. I still cannot get it.

This time I typed in sp_renamedb, then click
"Find now".

Yes, it comes up (1 row). But where is this
sp??? Under master??? or under ???

__________________
cocolocopolo

Report this post to a moderator

Old Post 07-12-02 04:26 AM
cocolocopolo is offline Click Here to See the Profile for cocolocopolo Click here to Send cocolocopolo a Private Message Add cocolocopolo to your buddy list Find more posts by cocolocopolo Reply w/Quote Edit/Delete Message IP: Logged
necrophantasm
Senior Member
M




Registered: Mar 2001
Location:
Country: United States
State:
Certifications: A+, N+, I-N+, Lx+, Sec+, Ser+, CCNP,CCDP, MCDST, MCSA, MCSE, MCTS, MCITP, CIW-A, MCDBA, MCT
Working on: MCITP Vista; CCSP

Total Posts: 372

I will look into it and let you know. Maybe if I give you step by step instructions on how I did it you will get the same response.

Report this post to a moderator

Old Post 07-14-02 01:13 PM
necrophantasm is offline Click Here to See the Profile for necrophantasm Click here to Send necrophantasm a Private Message Add necrophantasm to your buddy list Find more posts by necrophantasm Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply

MCSE exam notes



Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps