using System;
using System.Data;
using System.Data.SqlTypes;
public class MyCLRFunc
{
[Microsoft.SqlServer.Server.SqlFunction]
public static SqlString MyCLRHelloFunction()
{
return new SqlString("Hello everybody, I'm form SQLCLR!");
}
};
Create assembly MyUDFCLR from 'K:\Users\Sudesh\Desktop\MyCLRFunc.dll'
create function MyCLRHelloFunction()
Returns nvarchar(50)
External name MyUDFCLR.MyCLRFunc.MyCLRHelloFunction;
Go
select dbo.MyCLRHelloFunction()
[How Do I:] Use the Fixednames Option with the Compiler Utility for Maximum
Flexibility
-
In this video Chris Pels will show how to use the fixednames option with
the aspnet_compiler.exe utility to produce a consistent file names in
compilation ...
1 year ago