Files
2024-03-13 00:33:46 +01:00

3 lines
231 B
SQL

if not exists(select * from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'AuditServiceFailedItems' and COLUMN_NAME = 'error_message')
alter table auditlog.AuditServiceFailedItems
add [error_message] nvarchar(4000) null