Viewing 2 posts - 1 through 3 (of 3 total)
Darn, that's what I was afraid of (no quick solution).
I allready have this (working) "INSTEAD OF" trigger:
DECLARE @company_id INT
IF OBJECT_ID('tempdb..#cyn_vars') IS NOT NULL
BEGIN
SELECT @company_id = (SELECT CAST(param_value AS INT) FROM...
September 23, 2010 at 1:00 pm
#1226552
@ steve jones: how can a stored procedure help me? I can't use the return value of a stored procedure as default constraint, can I?
PS: I know what value to...
September 23, 2010 at 12:37 pm
#1226537