Title: How Your Oracle DBA or Programmer Can Improve Your Argos Reporting
1How Your Oracle DBA or Programmer Can Improve
Your Argos Reporting!
- Presented By
- Bruce Knox
- University of Arkansas
- Division of Agriculture
- Cooperative Extension Service
2- Please remember to silence your
- cell phones.
3Argos provides THE missing Banner Reporting Tool
4Even with Argos, there remains a need for further
simplification
5Even with Argos, there remains a need for further
simplification
- Current Banner Record Sets
6Even with Argos, there remains a need for further
simplification
- Current Banner Record Sets
- Flattened Banner Data
7Even with Argos, there remains a need for further
simplification
- Current Banner Record Sets
- Flattened Banner Data
- Using Desktop Data with Banner
8Views, Views, and Banner Views
9Views, Views, and Banner Views
- To Deal with Effective Dated Records
10Views, Views, and Banner Views
- To Deal with Effective Dated Records
- To Flatten The Database
11Views, Views, and Banner Views
- To Deal with Effective Dated Records
- To Flatten The Database
- Using Existing Banner Provided Views
12Effective Dated Records
13Effective Dated Records
- The 1 Bane of Ad Hoc Banner Reporting
14Effective Dated Records
- 99 of all Ad Hoc Reports are for Current Banner
Records
15Effective Dated Records
- 99 of all Ad Hoc Reports are for Current
Records - Oracle Views can Deliver them without the need
for Additional Selection Criteria
16Effective Dated Records
- 99 of all Ad Hoc Reports are for Current
Records - Oracle Views can Deliver them without the need
for Additional Selection Criteria - Just JOIN the Views and the Query is Done!
17(No Transcript)
18(No Transcript)
19(No Transcript)
20What Was Hidden Here?
21What Was Hidden Here?
- FROM FTVORGN
- WHERE
- TRUNC(FTVORGN_EFF_DATE)
- AND (FTVORGN_NCHG_DATE SYSDATE OR
FTVORGN_NCHG_DATE IS NULL) - AND (FTVORGN_TERM_DATE SYSDATE OR
FTVORGN_TERM_DATE IS NULL) - AND FTVORGN_STATUS_IND 'A'
22Thousands of Related Tables
23Thousands of Related Tables
- The 2 Bane of Ad Hoc Banner Reporting
24Thousands of Related Tables
- The 2 Bane of Ad Hoc Banner Reporting
- Oracle Views Can Flatten the Database
25Oracle Views
26(No Transcript)
27Oracle Views
28Oracle Views
29(No Transcript)
30(No Transcript)
31Oracle Views
32From the Users Point of View
33(No Transcript)
34(No Transcript)
35(No Transcript)
36Oracle Views
37Banner Views
38Banner Views
- Banner Actually Includes Useful Views
39Banner Views
- PEVEMPL Employee Information View
40Banner Views
- PEVEMPL Employee Information View
- A Commonly Used View
41Banner Views
- PEVEMPL Employee Information View
- A Commonly Used View
- Flattens 16 Tables
42Banner Views
- PEVEMPL Employee Information View
- A Commonly Used View
- Flattens 16 Tables
- Obscures the Source Column Names
43(No Transcript)
44(No Transcript)
45Banner Views
46Banner Views
47Banner Views
48Importing Desktop Data
49Importing Desktop Data
- Oracle Operates Best with Data in Oracle
50Importing Desktop Data
- Oracle Operates Best with Data in Oracle
- Upload Data Interactively with APEX
51Importing Desktop Data
- Oracle Operates Best with Data in Oracle
- Upload Data Interactively with APEX
- Upload Using Batch Scripts
52Oracle Application Express
53Oracle Application Express
54Oracle Application Express
55Oracle Application Express
56Oracle Application Express
57Oracle Application Express
58Oracle Application Express
59Oracle Application Express
60Oracle Application Express
61Oracle Application Express
62Oracle Application Express
63Oracle Application Express
64Oracle Application Express
65Oracle Application Express
66Oracle Application Express
67Batch Scripts
68Batch Scripts
69SQLPlus Batch Script
- -- publication_approval.sql Test Script for
SQLPlus External Table Loads - -- SET ECHO OFF
- -- 01/29/08 bknox Created
- --this script named publication_approval.sql is
to be run by a matching publication_approval.bat
for the Application. - --If your file to load is publication_approval.c
sv - --then filename1 'D\orcl_ext\Application\publi
cation_approval.log' - SET FEEDBACK OFF
- SET TIMING OFF
- COLUMN Variable HEADING "Variable" FORMAT A16
- COLUMN Value HEADING "Value" FORMAT A30
- HOST DEL D\orcl_ext\Scripts\publication_approval_
run.log - -- ONCE THE TESTING IS DONE HOST DEL
D\orcl_ext\Publications\publication_approval.log
70SQLPlus Batch Script
- SET FEEDBACK ON
- TRUNCATE TABLE pub_approval
- -- TRUNCATE TABLE is the preferred way to empty
the Table, but only works when run by the Table
Owner. - --DELETE FROM pub_approval
- INSERT INTO pub_approval
- ( FUND,
- ORGN,
- PIDM )
- SELECT
- FUND,
- ORGN,
- PIDM
- FROM pub_approval_ext
- SET FEEDBACK OFF
71Windows Script
- REM Windows Batch Script for running
publication_approval.sql - REM which loads Internal
Table from External Table. - D
- cd oracle_ext
- cd Scripts
- DEL D\ORACLE_EXT\Publications\publication_approva
l.log - DEL D\ORACLE_EXT\Publications\publication_approva
l.bad - DEL D\ORACLE_EXT\Publications\publication_approva
l.dsc - sqlplus pubsid/pwd_at_APPS _at_D\oracle_ext\Scripts\pub
lication_approval.sql - EXIT
72Bonus Report Template
73Bonus Report Template
74Conclusions
- Use Oracle Views to Simplify Banner
- Use Banner Views Whenever Available
- Use Batch Scripts to Upload Spreadsheets
75Questions?
- Bruce Knox bknox _at_t uaex.edu
- http//www.uaex.edu/bknox
- http//www.uaex.edu/bknox/BannerArgos.htm
- University of Arkansas Division of
Agriculture Cooperative Extension Service
76Contact Information
- Bruce Knox bknox _at_t uaex.edu
- http//www.uaex.edu/bknox
- http//www.uaex.edu/bknox/BannerArgos.htm
- University of Arkansas Division of
Agriculture Cooperative Extension Service
77Argos Resources
- Training classes http//www.evisions.com/calendar
- Documentation and videos
http//www.evisions.com/support/argos - Argos Listserve
http//www.evisions.com/community - Argos Coop http//datablocks.evisi
ons.com - Evisions HelpDesk
http//helpdesk.evisions.com