Usage |
Paste the script into Toad or SQL Runner
You'll need to run this query once to determine the field numbers for the
file name, target environment, and to add any other favorite fields.
select * from KDLV_PACKAGE_LINES dpl
|
| Script |
kintana_scripts_deliver_locate_packages_lines_by_user_file_object
select nu.first_name || ' ' || nu.last_name "User",
dpl.object_name,
dpl.app_code,
dpl.creation_date,
dpl.package_id,
dpl.seq "Line",
dpl.parameterF "File" -- Modify 'F' to the number used for the file name field
dpl.parameterT "Target" -- Modify 'T' to the number used for the target environment
from KDLV_PACKAGE_LINES dpl,
KNTA_USERS nu
where nu.user_id = dpl.created_by and nu.end_date is NULL -- Limit to active users
--
-- Limit to a specified date range
-- and dpl.creation_date >= to_date('01-01-2008 01:00:00 AM', 'mm-dd-yyyy hh:mi:ss AM')
-- and dpl.creation_date <= to_date('12-31-2008 12:59:00 PM', 'mm-dd-yyyy hh:mi:ss PM')
--
-- and dpl.parameterF = "MyFile.sql" -- Limit by file name
-- and dpl.object_name = 'My Object' -- Limit by object type
-- and dpl.package_id = '99999' -- Limit by package number
-- and (nu.first_name = 'Fred' and nu.last_name = 'Grandy') -- Limit by user
order by 1 asc
|