Error checking in Stored Proc => Vstudio console

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Sep 21 04:06:57 CDT 2007


On 21/9/07 11:19 AM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:

> 
> Now the tbl_typelists has as you can see a field typelistname. This
> is defined to be unique
> 
> So when I call spBuildUserTypes again I expect to see 'something went
> wrong' in the console .Unique_key_violation should trigger the
> exception I believe.
> But the console prints "call spBuildUserTypes()" has been executed"
> When verifying the data nothing has changed (I still have 1 list with
> 3 items in it). So that is correct.
> So I guess the questions is why was the exception part of the
> procedure not executed ?

As I remember -- PRINT now prints into Warning log file.

To make it print into console of Vstudio -- we need build some bridge
between KERNEL and Vstudio. Right now it is absent...

Ivan, I have told people will not be happy just with log file ...


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list