mirror of
https://github.com/dbgate/dbgate
synced 2024-11-08 04:35:58 +00:00
7 lines
331 B
JavaScript
7 lines
331 B
JavaScript
module.exports = `
|
|
select o.name as pureName, s.name as schemaName, o.object_id as objectId, o.create_date as createDate, o.modify_date as modifyDate, o.type as sqlObjectType
|
|
from sys.objects o
|
|
inner join sys.schemas s on o.schema_id = s.schema_id
|
|
where o.type in ('P', 'IF', 'FN', 'TF') and o.object_id =[OBJECT_ID_CONDITION]
|
|
`;
|