test trigger createSql

This commit is contained in:
Jan Prochazka
2024-12-20 09:26:53 +01:00
parent 2488cee7ea
commit 0edc7f077f
3 changed files with 28 additions and 26 deletions

View File

@@ -2,6 +2,6 @@ module.exports = `
select o.object_id as objectId, o.modify_date as modifyDate, o.type, o.name as pureName, s.name as schemaName
from sys.objects o
inner join sys.schemas s on o.schema_id = s.schema_id
where o.type in ('U', 'V', 'P', 'IF', 'FN', 'TF') -- , 'TR' - triggers disabled
where o.type in ('U', 'V', 'P', 'IF', 'FN', 'TF', 'TR')
and s.name =SCHEMA_NAME_CONDITION
`;