Hi Gonzalo,
I have solve all my problem now.
---------------------------------
[Microsoft.SqlServer.Server.SqlFunction(FillRowMeth odName="Obj_Row",
IsDeterministic=true,
IsPrecise=true,
TableDefinition = "ObjID int,ObjCategoryID int,ObjValue nvarchar(400)",
DataAccess= DataAccessKind.Read,
SystemDataAccess = SystemDataAccessKind.Read )] <== After add this line CLR funtion work fine.
My function A, call function B, and Store procedure C. I change some of them to CLR may be that need SystemDataAccessKind.Read ------------------------------
Other question about sqlchars, I solve that problem too. Thank you for reading my post.
|