Article View: borland.public.cppbuilder.database.ado
Article #1288(NOT) catching\handling RaiseError from stored procedure
From: newbie
Date: Mon, 02 Aug 2004 16:42
Date: Mon, 02 Aug 2004 16:42
21 lines
1600 bytes
1600 bytes
Hello, I am using SQL Server 2000 & BCB6. I am trying to create a progress bar for a long running stored procedure by using raiserror with nowait to return the percentage back to the client without exiting the stored procedure. However those errors never seem to make it to the client. I understand that anything below error level 19 is more of a warning that can be handled without exiting the stored procedure. Does anyone know how to handle\catch warnings on the client that occurs in the sp or better yet and means with which to measure the progress of a stored procedure. Accuracy is not that important, I just wish to give the user a rough idea about how much more (time?) is required, since I am process rather large xml documents (5-60 mgs) it make take awhile. newbie
Technical Details
Message-ID:
<410e6ef3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,1ce4ce8e7f7fb541,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "newbie" <ms_crack@yahoo.com> Sender: "newbie" <ms_crack@yahoo.com> Reply-To: "newbie" <ms_crack@yahoo.com> Subject: (NOT) catching\handling RaiseError from stored procedure Newsgroups: borland.public.cppbuilder.database.ado X-User-Info: 138.11.254.204 X-Forwarded-For: unknown NNTP-Posting-Host: 207.105.83.66 Message-ID: <410e6ef3$1@newsgroups.borland.com> Date: 2 Aug 2004 09:42:27 -0700 X-Trace: newsgroups.borland.com 1091464947 207.105.83.66 (2 Aug 2004 09:42:27 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail