Solved

What's the differnce between xtype and xusertype in systypes

Posted on 2008-09-29
4
1,606 Views
Last Modified: 2010-04-21
What's the differnce between xtype and xusertype in systypes?
It seems that they are the same for all types except "sysname"
0
Comment
Question by:treehouse2008
  • 2
  • 2
4 Comments
 
LVL 11

Expert Comment

by:aaronakin
ID: 22597551
Here's is a description of the two from microsoft.  http://msdn.microsoft.com/en-us/library/ms175109(SQL.90).aspx
0
 

Author Comment

by:treehouse2008
ID: 22597893
I read that before.  I do not understand what's "Physical storage type" and "Extended user type". And how xtype and xusertype are used in differnt situations?
0
 
LVL 11

Accepted Solution

by:
aaronakin earned 250 total points
ID: 22600733
If you have any user-defined datatypes, they all have an underlying system type tied to them.  For instance, the user type PhoneNumber could have a system type of char(10).  In this case, the xtype value would be the id for the varchar type, and the xusertype value would be the id for the PhoneNumber type.
0
 

Author Closing Comment

by:treehouse2008
ID: 31501228
Thanks
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now