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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -