Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Tool To test Stored procedure in SQL2000?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

newnuts
Starting Member

India
4 Posts

Posted - 01/30/2007 :  01:36:47  Show Profile  Visit newnuts's Homepage  Send newnuts a Yahoo! Message  Reply with Quote
Hi All

Is there any Tool available To Test Stored procedure in SQL server?

Thanks in Advance
Abin

SwePeso
Patron Saint of Lost Yaks

Sweden
30421 Posts

Posted - 01/30/2007 :  02:08:21  Show Profile  Visit SwePeso's Homepage  Reply with Quote
What would you like the tool to test?
The best tool is your brain, by the way.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

swatib
Posting Yak Master

India
173 Posts

Posted - 01/30/2007 :  04:10:01  Show Profile  Reply with Quote
DO you mean by debuging SP? Here it is

1. Open Query Analyzer and connect to a database of interest.
2. Open the Object Browser by pressing [F8] or going to Tools | Object Browser on the Query Analyzer menu.
3. Select the stored procedure of interest.
4. Right-click on the stored procedure's name and select Debug from the pop-up menu.


Njoy Life
Go to Top of Page

harsh_athalye
Flowing Fount of Yak Knowledge

India
5581 Posts

Posted - 01/30/2007 :  04:15:52  Show Profile  Visit harsh_athalye's Homepage  Click to see harsh_athalye's MSN Messenger address  Send harsh_athalye a Yahoo! Message  Reply with Quote
If you want to unit test your SPs, you can give a try to TSQLUnit testing framework. It is available at the following link:

http://sourceforge.net/projects/tsqlunit

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

Kristen
Test

United Kingdom
22859 Posts

Posted - 01/30/2007 :  13:12:20  Show Profile  Reply with Quote
"The best tool is your brain, by the way"

... unless you have to do the same test over-and-over-again, every day ...

Kristen
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30421 Posts

Posted - 01/30/2007 :  14:40:31  Show Profile  Visit SwePeso's Homepage  Reply with Quote
What I meant was, is there really a tool that can measure all aspect of what a stored procedure can perform?
Can it measure index use? DDL statements, validate dynamic sql statements?
deletes and inserts on linked servers?
adding users? dropping tables?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
  Previous Topic Topic Next 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.05 seconds. Powered By: Snitz Forums 2000