What are user defined datatypes and when you should go for
them?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is oracle faster than sql server?

632


What is the full form of dql?

614


What are key constraints?

596


What is difference between rollback immediate and with no_wait during alter database?

672


what is a transaction and what are acid properties? : Sql server database administration

601






What do you mean by cardinality?

575


What are ddl triggers and types of ddl trigger?

698


What is database replication? What are the different types of replication you can set up in sql server?

591


what is a transaction? : Sql server database administration

559


What is PROJECTION Operation?

683


What do you understand by a view?

638


Is it safe to delete log files?

597


How do I start and stop sql server?

619


What are the different types of triggers in SQL SERVER?

618


What is 5nf in normalization form?

647