Solved

What's the differnce between xtype and xusertype in systypes

Posted on 2008-09-29
4
1,645 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 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

726 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