Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

define and explain the differences between clustered and non-clustered indexes.

1248


What is dml command?

1018


What is function of CUBE ?

1076


your distribution database is full what will u do

2217


Explain the difference between HTTP and HTTPS in database?

1091


How to connect to a sql server using odbc_connect()?

1201


How to count groups returned with the group by clause in ms sql server?

1141


Do you know what is a linked server in sql server?

1067


What is a trace frag?

1132


Tell me what are cursors and when they are useful?

993


Do you know what is difference between stored procedure and user defined function?

1146


What is the difference between getdate and sysdatetime?

1060


How do you create a data source?

959


What is a subquery in a select query statement in ms sql server?

1185


How column data types are determined in a view?

1005