Forum Replies Created

Viewing 2 posts - 1 through 3 (of 3 total)

  • RE: how to use a "variable default value"

    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...

  • RE: how to use a "variable default value"

    @ 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...

Viewing 2 posts - 1 through 3 (of 3 total)