SQL Server administration and T-SQL development, Web Programming with ASP.NET and Javascript, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software

Kodyaz Development Resources

Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Vista, etc.

CLR Function - The SqlFunctionAttribute of the Init method for a CLR table-valued function must set the FillRowMethodName property.

  •  09-01-2010, 7:40 AM

    CLR Function - The SqlFunctionAttribute of the Init method for a CLR table-valued function must set the FillRowMethodName property.

    Hello all t-sql programmers,

    I'm trying to create CLR function in order to use for sql split string function.

    I create the VB.NET CLR function code and assembly using BIDS in SQL Server 2008 R2 Development Studio
    I could also successfully create assembly in SQL Server 2008 R2 but I can not create CLR function.
    I get the following error message from sql engine


    Msg 10306, Level 16, State 1, Procedure CLRSplitString, Line 2
    The SqlFunctionAttribute of the Init method for a CLR table-valued function must set the FillRowMethodName property.

    I think I missed something related with FillRowMethodName property in VB.NET CLR code for sql split function


    Eralper
    Kodyaz.com
View Complete Thread
Copyright © 2004 - 2011 Eralper Yilmaz. All rights reserved.
Community Server, by Telligent Systems