Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



INFORMATION_SCHEMA.COLUMN_DOMAIN_USAGE

  No additional text.


Syntax
CREATE VIEW INFORMATION_SCHEMA.COLUMN_DOMAIN_USAGE
AS
SELECT
	DB_NAME()					AS DOMAIN_CATALOG,
	SCHEMA_NAME(t.schema_id)	AS DOMAIN_SCHEMA,
	t.name						AS DOMAIN_NAME,
	DB_NAME()					AS TABLE_CATALOG,
	SCHEMA_NAME(o.schema_id)	AS TABLE_SCHEMA,
	o.name						AS TABLE_NAME,
	c.name						AS COLUMN_NAME
FROM
	sys.objects o JOIN sys.columns c ON c.object_id = o.object_id
	JOIN sys.types t ON t.user_type_id = c.user_type_id
WHERE
	c.user_type_id > 256	-- UDT

 
Last revision 2008RTM
News

  Query a named instance
Sybase+ASE+silent+install
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash