SQLFacet Return Precision and Scale in VB.NET 2005 fx2.0
hello, i've seem examples on setting sqlfacetattribute on return values of sqlfunctions in c#. can not make work in vb.net. compiler always notes attribute can not used on declaration type. vb.net 2005 lack feature?
you put between keyword "as" , data type, this:
_
cheers,
bob beauchemin
sqlskills
_
<microsoft.sqlserver.server.sqlfunction()> _ public shared function function1() <sqlfacet(precision:=5,scale:=2)> decimal return 123.45d end function
cheers,
bob beauchemin
sqlskills
SQL Server > .NET Framework inside SQL Server
Comments
Post a Comment