?
Solved

What's the differnce between xtype and xusertype in systypes

Posted on 2008-09-29
4
Medium Priority
?
1,656 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 750 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Suggested Courses

762 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