adspace
what is the syntax for using sql_variant_property? : Transact sql
Answer Posted / Gajendera Singh
The syntax for using SQL_VARIANT_PROPERTY in T-SQL (Transact-SQL) varies depending on the specific database version and the property you want to retrieve or set. However, a general example might look like this: SELECT sql_variant_property(column_name, 'BaseType') FROM table_name; To set a property, you can use an UPDATE statement: UPDATE table_name SET column_name = SQL_VARIANT_PROPERTY(column_name, 'UserDefinedType', @userDefinedType) WHERE condition
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what are all the common sql function? : Sql dba
what are aggregate and scalar functions? : Sql dba
what is dbms? : Sql dba
how to escape special characters in sql statements? : Sql dba
Is inner join faster than left join?
Can we use distinct and group by together?
What is the current version of postgresql?
Is primary key clustered index?
what is collation? : Sql dba
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
how many tables will create when we create table, what are they? : Sql dba
How do I remove duplicates in two columns?
what is sql server agent? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
Does group by remove duplicates?