mirror of
https://github.com/dbgate/dbgate
synced 2024-11-08 12:47:25 +00:00
7 lines
286 B
JavaScript
7 lines
286 B
JavaScript
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
|
|
`;
|