What are user defined datatypes and when you should go for
them?
Answer / swapna
User defined datatypes let you extend the base SQL Server
datatypes by providing a descriptive name, and format to
the database. Take for example, in your database, there is
a column called Flight_Num which appears in many tables. In
all these tables it should be varchar(8).
In this case you could create a user defined datatype
called Flight_num_type of varchar(8) and use it across all
your tables.
| Is This Answer Correct ? | 9 Yes | 1 No |
What is a subquery in a select query statement in ms sql server?
What are the difference between “where” and “having” clause in sql server?
Explain transaction isolation levels in sql server?
How to assign null values to variables or columns?
Can we call stored procedure in trigger?
Define clusters?
Write an sql query to sort a table according to the amounts in a row and find the second largest amount.
How to reaname table name without using sp_Rename in sql server..?
How to create indexed view?
What do you mean by data integrity?
What are the different types of cursor?
How we Resize table,temp table, database and log file size in SQL Server 2005
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)