Hi NG,
I have spent 3 days searching on how to debug stored procedure in MSS 2005
but it keeps mentioning VS 2005. Does this mean that I have to buy VS 2005
just to debug a TSQL stored procedure?
Micorosoft, what have you done on the debug feature of MSS 2000 why is there
no simple way to debug a stored procedure in MSS 2005 just like in MSS 2000.
You should feel sorry for this BILL!
Regards,
Well, coming from SQL Server 7 and the only debug feature available
"PRINT":
I'm only using Ms SQL Server Managment Studio (a free version is
available for
SQL Server Express - or else it's bundled...)
Now, if you create the SP on the client - that's a whole different
bag, and
I will resist the urge to ask: why do you do that...?
Nah, anyways:
Test the SP in a query window.
/o
On Jun 4, 12:11 pm, "Praetorian Guard" <praetor...@.gatekeeper.com>
wrote:
> Hi NG,
> I have spent 3 days searching on how to debug stored procedure in MSS 2005
> but it keeps mentioning VS 2005. Does this mean that I have to buy VS 2005
> just to debug a TSQL stored procedure?
> Micorosoft, what have you done on the debug feature of MSS 2000 why is there
> no simple way to debug a stored procedure in MSS 2005 just like in MSS 2000.
> You should feel sorry for this BILL!
> Regards,
|||Yes, in SQL Server 2005 you need Visual Studio. Microsoft has said that
they will add it back into Management Studio with Katmai (a.k.a. SQL Server
2008).
In the meantime, PRINT statements are helpful if you cannot use VS. Or,
create a DebuggingTable and INSERT into it useful state information and a
datetime.
CREATE TABLE DebuggingTable
(ID INT IDENTITY, -- used to order the rows for you when you query
DebugLine NVARCHAR(1000),
DebugTime DATETIME,
SPID INT,
SID VARBINARY(85))
RLF
"Praetorian Guard" <praetorian@.gatekeeper.com> wrote in message
news:eQCooCppHHA.1244@.TK2MSFTNGP04.phx.gbl...
> Hi NG,
> I have spent 3 days searching on how to debug stored procedure in MSS
> 2005 but it keeps mentioning VS 2005. Does this mean that I have to buy VS
> 2005 just to debug a TSQL stored procedure?
> Micorosoft, what have you done on the debug feature of MSS 2000 why is
> there no simple way to debug a stored procedure in MSS 2005 just like in
> MSS 2000. You should feel sorry for this BILL!
> Regards,
>
|||ApexSQL is coming out with a debugger in their Edit program soon. I think
Embarcadero has one in their RapidSQL app too, although I don't know if it
is 2005 capable.
TheSQLGuru
President
Indicium Resources, Inc.
"Praetorian Guard" <praetorian@.gatekeeper.com> wrote in message
news:eQCooCppHHA.1244@.TK2MSFTNGP04.phx.gbl...
> Hi NG,
> I have spent 3 days searching on how to debug stored procedure in MSS
> 2005 but it keeps mentioning VS 2005. Does this mean that I have to buy VS
> 2005 just to debug a TSQL stored procedure?
> Micorosoft, what have you done on the debug feature of MSS 2000 why is
> there no simple way to debug a stored procedure in MSS 2005 just like in
> MSS 2000. You should feel sorry for this BILL!
> Regards,
>
|||On Mon, 4 Jun 2007 18:11:00 +0800, Praetorian Guard wrote:
>Hi NG,
>I have spent 3 days searching on how to debug stored procedure in MSS 2005
>but it keeps mentioning VS 2005. Does this mean that I have to buy VS 2005
>just to debug a TSQL stored procedure?
>Micorosoft, what have you done on the debug feature of MSS 2000 why is there
>no simple way to debug a stored procedure in MSS 2005 just like in MSS 2000.
>You should feel sorry for this BILL!
>Regards,
>
Hi Praetorian,
There is a request to bring back the debugger in SSMS on Connect (URLs
below). Even though Microsoft has promised to implement this feature in
Katmai, I still urge everyone who didn't already do so, to vote for this
feature - just to make sure that they don't forget their promises...
http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=124550
http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=124613
Hugo Kornelis, SQL Server MVP
My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
|||I suggest you try the tool SQL Ultimate Debugger:
http://lakesidesql.com/downloads/PFD/1_0_2007_809/PFDebugger_Setup_08-09-2007.zip.
This tool is a post factum debugger and allows you to trace and
debug obejcts (SP's Triggers, FN's, etc.) that had been executed. It's
waaaay better than the T-SQL debugger in VS. Also, since this software has
not yet been officially realeased, I would not recommend (YET) to use it in
a production environment.
You can learn more about it here:
http://208.75.249.50/products/sql-ultimate-debugger/screenshots.html.
"Praetorian Guard" <praetorian@.gatekeeper.com> wrote in message
news:eQCooCppHHA.1244@.TK2MSFTNGP04.phx.gbl...
> Hi NG,
> I have spent 3 days searching on how to debug stored procedure in MSS
> 2005 but it keeps mentioning VS 2005. Does this mean that I have to buy VS
> 2005 just to debug a TSQL stored procedure?
> Micorosoft, what have you done on the debug feature of MSS 2000 why is
> there no simple way to debug a stored procedure in MSS 2005 just like in
> MSS 2000. You should feel sorry for this BILL!
> Regards,
>