what is the syntax for using sql_variant_property? : Transact sql
Answer / 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 |
Why do we use sql constraints?
can i use global variables in stored procedure or function
What is view explain with example?
Why stored procedure is faster than query?
How many levels can subqueries be nested in a FROM clause?
what are the demerits of sql?
What is query execution plan in sql?
what are the authentication modes in sql server? : Sql dba
Is sql microsoft?
if we give update table_name set column_name= default. what will happen? its given in pl sql block.what will hapen?
What are sql data types?
How does left join work in sql?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)