SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Express Edition and Compact Edition (2005)
 how 2 5nd stored procedures which are used nolock
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

balaram19
Starting Member

India
9 Posts

Posted - 01/24/2012 :  05:25:04  Show Profile  Reply with Quote
Hi,
I want to know how many stored procedures were used nolock in sql server 2005. Do we have any query for this..



ivbalaram

Edited by - balaram19 on 01/24/2012 05:36:34

Transact Charlie
Flowing Fount of Yak Knowledge

United Kingdom
3451 Posts

Posted - 01/24/2012 :  05:47:58  Show Profile  Visit Transact Charlie's Homepage  Reply with Quote
do you have the code in a repository? (svn, sourcesafe, whatever)

if so then you can use grep

Charlie
===============================================================
Msg 3903, Level 16, State 1, Line 1736
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION
Go to Top of Page

senthil_nagore
Flowing Fount of Yak Knowledge

India
1007 Posts

Posted - 01/24/2012 :  05:55:53  Show Profile  Visit senthil_nagore's Homepage  Send senthil_nagore a Yahoo! Message  Reply with Quote
Generate the Script of the database and then you can search..

Senthil Kumar C
------------------------------------------------------
MCITP - Database Administration SQL SERVER 2008
MCTS - Database Development SQL SERVER 2008
Go to Top of Page

Transact Charlie
Flowing Fount of Yak Knowledge

United Kingdom
3451 Posts

Posted - 01/24/2012 :  05:58:06  Show Profile  Visit Transact Charlie's Homepage  Reply with Quote
quote:
Originally posted by senthil_nagore

Generate the Script of the database and then you can search..

Senthil Kumar C
------------------------------------------------------
MCITP - Database Administration SQL SERVER 2008
MCTS - Database Development SQL SERVER 2008



also -- if you make each object go to it's own file the filename will be the name of the object. so using a search tool (or pattern match like grep) will tell you the name of the object.

http://www.wingrep.com/

Charlie
===============================================================
Msg 3903, Level 16, State 1, Line 1736
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000