Question : System functions in SQL

Folks,

Is it possible to create a system function in SQL 2005?  This would be a function that lives in the Master database, but it accessible from any database?  The analogy would be a user-defined system stored procedure.

Answer : System functions in SQL

It used to be possible in sql 2000,

http://www.sqlservercentral.com/scripts/T-SQL+Aids/31522/

The first one is nasty and if it is important to you to view it, do a free registration or use bugmenot

But Microsoft removed the undocumented feature in Sql 2005 onwards.

http://www.sqlnewsgroups.net/group/microsoft.public.sqlserver.server/topic12697.aspx
Random Solutions  
 
programming4us programming4us