SQL 2005 System UDF function and Procedures
In SQL 2000 for Procedures
this was done by writing procs in Master db prefixing the name with sp_
and using exec sp_MS_marksystemobject procname
In SQL 2000 for functions
we wrote function in Master db
like so system_function_schema
Create Function system_function_schema.fn_v_filler
(
How would one go about it in 2005
Regards.
Hi - sp_MS_marksystemobject and system_function_schema were undocumented and unsupported APIs. Code based on them will not work in SQL 2005.
We are aware that customers want to create TSQL "libraries" and we have an internal DCR (design change request) to address this in the next product release.
The best advise going foward is to avoid undocumented APIs, regardless of what you read in books or magazines. If the API you wish to use has a reference page in the SQL Server BOL it is OK.
Regards,
Clifford Dibble