如果Vb.net有未知变量的对象数据类型,那么T-SQL中的等价物是什么?
T-sql中的示例
declare @variable as object?
由于
答案 0 :(得分:0)
也许SQL_VARIANT接近你所追求的目标:
When handling the sql_variant data type, SQL Server supports implicit conversions of objects with other data types to the sql_variant type. However, SQL Server does not support implicit conversions from sql_variant data to an object with another data type.