tsql - .NET CLR sql scalar function DataTypes -
briefly: i've written clr function processes 2 strings in complex way.
my dilema: sqlstring
vs string
. read on msdn difference string takes currentculture
current thread.
but want able split input strings: string.split()
, etc..
should have sqlstring
parameter type , convert string
? (i saw has explicit operator). if so, won't hit performance? (important). or should take directly string
input.?
anyways, sqlstring
has .value
property string
type. if take value, sense of having sqlstring parameter types when i'm 'not using it' ?
public static bool foo(sqlstring s, sqlstring t) {}
sqlstring have conversion operators others sql types. try use , pass sql vars other types (int, bigint, etc...).
Comments
Post a Comment