Thursday, December 2, 2021

Get column name from list of tables in MSSQL server

 SELECT col.name AS [Column Name], tab.name AS [Table Name]

FROM sys.columns col

INNER JOIN sys.tables tab

ON col.object_id = tab.object_id

WHERE col.name LIKE '%ColumnName%'

ORDER BY [Table Name], [Column Name]


IANA timezone details in short

  The IANA Time Zone Database (often called tzdata , zoneinfo , or the Olson database ) is the global standard for representing time zones ...