ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What are user defined datatypes and when you should go for 
them?
 Question Submitted By :: Swapna
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are user defined datatypes and when you should go for them?
Answer
# 1
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 ?    5 Yes 1 No
Swapna
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
to explain sql server 2000 architecture & authentication HCL1
create procedure proc1 (@a int) as begin if @a=1 create table #temp(a1 int) else create table #temp(a1 int) end while executeing the above code it shows error like '#temp already exist' .why it shows an error? IBM6
I have a huge amount of data which is displayed in a report. The data is viewed every day. Every day the data is displayed in 30 secs but suddenly today it is giving an timeout message today. Data has not been changed. The situation is same as yesterday. What might be the reason??? Please Answer. Satyam4
what is the difference between sql query and google query? TCS10
What types of integrity are enforced by a foreign-key constraint  1
How can u convert the Date to String? TCS6
how to get the automatic backup of the database in the sql server  4
what are the new features of sql server 2005? HP8
What is the difference between temp table and table variable? Microsoft7
How To delete duplicate record from a particular table? eXensys11
Can we use Truncate command on a table which is referenced by FOREIGN KEY?  2
WHAT OPERATOR PERFORMS PATTERN MATCHING? CTS2
What is MSDE?  2
What are the advantages of using views. Why do we need views when we have SPs? 247Customer3
why we use cursor? Melstar3
What is the difference between login and a user? TCS10
What is the difference between a HAVING CLAUSE and a WHERE CLAUSE? Yardi-Software6
If suppose in a table ship(name,year),find ship name having first and last name(i.e having space in between) ex: SAINT LOUIS,JET LAKE.  4
what is call by value & call by reference ? Cap-Gemini2
hi,i want t0 knom d syntax for a super key with an example  1
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2009  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com