UDF in SQL Server
Glenn,
When invoking scalar user defined function use minimum two-part name of the function ie "owner" and
"function name"
Ex
select owner_name.function_name (parm1,para.2....)
Whereas Table-valued functions can be invoked using a single part name.
Ex:
select * from function_name (parm1,para.2....)
System table functions that are included in SQL Server 2000 can be invoked by using a '::' prefix
before the function name.
Ex:
SELECT *
FROM ::fn_helpcollations()
--
- Vishal
|