September 1, 2008 at 9:03 am
HI All,
What is the difference between xType and Type in sysobjects?
Thanks
Chris
----------------------------------------------
Try to learn something about everything and everything about something. - Thomas Henry Huxley
:w00t:
Posting Best Practices[/url]
Numbers / Tally Tables[/url]
September 1, 2008 at 9:16 am
HI All,
It seems that xType is what should be used, Type is there for backward compatibility
If this is not 100% correct please let me know.
P.S the only value differences are
xType --> Type
PK --> K
UQ --> K
Thanks
Chris
----------------------------------------------
Try to learn something about everything and everything about something. - Thomas Henry Huxley
:w00t:
Posting Best Practices[/url]
Numbers / Tally Tables[/url]
September 1, 2008 at 10:09 am
indeed the whole table is there for backward compatibility, the SQL2005 table is sys.objects
You will also find some other sys------- tables which are for backward compatibility too
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
September 1, 2008 at 6:28 pm
Christopher Stobbs (9/1/2008)
Type is there for backward compatibility
I wonder why some of the folks from Redmond saw fit to use it to define some of the information schema views if it's there just for backward compatibility. Yeah, I know what they say, but there it is in THEIR code. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply