Using dbo.tsf_user() in a default value expression gives errors during execution of the source code.
Cannot DROP FUNCTION 'tsf_user' because it is being referenced by object 'DF_prd_insert_user'.
/* Drop function tsf_user first. */
if exists (select 1 from sysobjects
where name = 'tsf_user' and (type = 'FN' or type = 'TF' or type = 'IF'))
drop function tsf_user
Any workaround ideas?