Hi,
Put the global constant(s) in a table.
Then write a scalar function to access the global constant(s),
Or just select from this table to retrieve the constant in the table.
If you need global constants of different datatypes, consider making use of the sql_variant datatype.
/rockmoose
You must unlearn what You have learnt