added files from swmgmt03
This commit is contained in:
11
DELPHIX - get tables with change tracking.sql
Normal file
11
DELPHIX - get tables with change tracking.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
declare @tblList table(tblname varchar(222) null)
|
||||
|
||||
insert into @tblList
|
||||
SELECT DBACTT_table_name
|
||||
FROM dbo.DBA_change_tracking_template
|
||||
;
|
||||
|
||||
select t.TABLE_SCHEMA, t.TABLE_NAME
|
||||
from INFORMATION_SCHEMA.TABLES t
|
||||
join @tblList s on s.tblname = t.TABLE_NAME
|
||||
order by TABLE_SCHEMA, TABLE_NAME
|
||||
Reference in New Issue
Block a user