Two errors with the same error number
From: Amin Sobati (amins_at_morva.net)
Date: 04/06/04
- Next message: Branko Radovanovic: "Re: Finding and inserting consecutive pairs"
- Previous message: Martin Hellat: "Rowversion and locking"
- Next in thread: Quentin Ran: "Re: Two errors with the same error number"
- Reply: Quentin Ran: "Re: Two errors with the same error number"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 6 Apr 2004 12:01:05 +0430
Hi,
I have two check constraints on my table. Suppose user inserts a record that
violates
both of these constraints, then SQL server returns an error to user(client
app).
If both of these violations have the same error number, how should I
identify that
violation of which constraint has occurred so that display the appropriate
message to user in my error handling code.
Any help would be greatly appreciated.
Amin
- Next message: Branko Radovanovic: "Re: Finding and inserting consecutive pairs"
- Previous message: Martin Hellat: "Rowversion and locking"
- Next in thread: Quentin Ran: "Re: Two errors with the same error number"
- Reply: Quentin Ran: "Re: Two errors with the same error number"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|