There are many examples out there, one of them is http://www.codeproject.com/dotnet/CLR_in_Sql_Server_2005.asp. But anyway if you google for word like clr or c# in combonation with SQL Server 2005 you will find some good examples out there, depending of what you want to do (triggers, udts, udfs, procedures)
How can we write C# code in sql.
Andrey Arkhipov
thank u, i got what i wanted.
regards
Marco Lammers
HTH, Jens Suessmeyer.
Kris Selden
There's also the Database Engine .NET Framework Programming section of the Books Online, which has many C# examples.
http://msdn2.microsoft.com/en-us/library/ms131102(SQL.90).aspx