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 |
How to get nth highest salary from employee table.
How to get the query of a table in sql server?
What is rank function?
What is the purpose of a table?
Which command is used for user defined error messages?
What is the difference between a function and a trigger?
What does nvl stand for?
How can you tell if a database object is invalid?
Difference between uniqe index and uniqe constraint?
How do I get to sql server configuration manager?
What do you understand by mirroring?
Mention the differences between local and global temporary tables.