/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT tab.name AS TableName, col.name AS ColumnName FROM sys.tables AS tab JOIN sys.columns AS col ON tab.object_id = col.object_id ORDER BY tab.name, col.name
URL: http://snipplr.com/developer/