Like a parameter in an ISNULL function?
Something we can use to determine:
create function getvalue ( @param1 varchar(max), @param2 varchar(max), @value anytype ) return anytype as ...
It looks like you are looking for the sql_variant data type .
Short answer no. sql_variant will let you get closer, but not quite.
If sql_variant is not enough, you can overcome this by specifying a few null parameters of all the corresponding types, but that is not very.
Source: https://habr.com/ru/post/1395260/More articles:Request in Nullable bool in C # - c #Boost :: multi_array looping - c ++In jQuery ajax, how to handle HTTP 408 error correctly? - jqueryWhat pom dependency should I use for jar commons-lang.jar - mavenWhen working with the C API, use arrays of characters or use strings and convert as needed? - c ++UTF-8 problems with characters from MySQL database (for example, รฉ as ร ยฉ) - phpValidating RDF files using Raptor or Sax - pythonHow to detect if on one page / page on Tumblr? - javascriptHow to specify the correct value of `i` in a callback in a loop? - javascriptMyBatis - lists of primitive types - mybatisAll Articles