I know a few of these already but does anyone know where I can find a document that describes what they following sysObjects.xtypes mean? If anything I'm most interested in the difference between U and V. U being a table but V is also a table thus the confusion.
D - Field names
F - Foreign Key
FN - Function
P - Stored Procedures
PK - Primary Key
S - System Tables
U - User tables?
V - Hidden tables?
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs).
Being someone who is always looking for alternatives to "work your data", I came across this …
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.