Article ID: 155716
Article Last Modified on 1/9/2006
------------------------------
CREATE PROCEDURE sp_trigger AS
INSERT authors
VALUES ('123-21-2321', 'Redmond', 'Ricky', '206/555-1212',
'123 Nowhere St.', 'Redmond', 'WA', '98989', DEFAULT )
DECLARE @a INTEGER
SELECT @a = 4/2
RETURN
------------------------------
The INSERT statement fails because there is no DEFAULT defined for the
last field. However, the user is not notified that the insertion failed until
the stored procedure completes. Keywords: kbtshoot kbbug kbsqlprog kbdatabase kbeedition kbdebug kbprb KB155716