Presentation is loading. Please wait.

Presentation is loading. Please wait.

How your Database Professionals can Improve your Argos Reporting1 How Your DBA or Database Programmer Can Improve Your Argos Reporting! Presented By Bruce.

Similar presentations


Presentation on theme: "How your Database Professionals can Improve your Argos Reporting1 How Your DBA or Database Programmer Can Improve Your Argos Reporting! Presented By Bruce."— Presentation transcript:

1 How your Database Professionals can Improve your Argos Reporting1 How Your DBA or Database Programmer Can Improve Your Argos Reporting! Presented By Bruce Knox University of Arkansas Division of Agriculture Cooperative Extension Service BAS S274 October 14 th 2008

2 How your Database Professionals can Improve your Argos Reporting2 Argos provides THE missing Banner Reporting Tool

3 How your Database Professionals can Improve your Argos Reporting3 Even with Argos, there remains a need for further simplification

4 How your Database Professionals can Improve your Argos Reporting4 Even with Argos, there remains a need for further simplification Current Banner Record Sets

5 How your Database Professionals can Improve your Argos Reporting5 Even with Argos, there remains a need for further simplification Current Banner Record Sets Flattened Banner Data

6 How your Database Professionals can Improve your Argos Reporting6 Even with Argos, there remains a need for further simplification Current Banner Record Sets Flattened Banner Data Using Desktop Data with Banner

7 How your Database Professionals can Improve your Argos Reporting7 Views, Views, and Banner Views

8 How your Database Professionals can Improve your Argos Reporting8 Views, Views, and Banner Views To Deal with Effective Dated Records

9 How your Database Professionals can Improve your Argos Reporting9 Views, Views, and Banner Views To Deal with Effective Dated Records To Flatten The Database

10 How your Database Professionals can Improve your Argos Reporting10 Views, Views, and Banner Views To Deal with Effective Dated Records To Flatten The Database Using Existing Banner Provided Views

11 How your Database Professionals can Improve your Argos Reporting11 Effective Dated Records

12 How your Database Professionals can Improve your Argos Reporting12 Effective Dated Records The #1 Bane of Ad Hoc Banner Reporting

13 How your Database Professionals can Improve your Argos Reporting13 Effective Dated Records 99% of all Ad Hoc Reports are for Current Banner Records

14 How your Database Professionals can Improve your Argos Reporting14 Effective Dated Records 99% of all Ad Hoc Reports are for Current Records Oracle Views can Deliver them without the need for Additional Selection Criteria

15 How your Database Professionals can Improve your Argos Reporting15 Effective Dated Records 99% of all Ad Hoc Reports are for Current Records Views can Deliver them without the need for Additional Selection Criteria Just JOIN the Views and the Query is Done!

16 How your Database Professionals can Improve your Argos Reporting16

17 How your Database Professionals can Improve your Argos Reporting17

18 How your Database Professionals can Improve your Argos Reporting18

19 How your Database Professionals can Improve your Argos Reporting19 What Was Hidden Here?

20 How your Database Professionals can Improve your Argos Reporting20 What Was Hidden Here? FROM FTVORGN WHERE TRUNC(FTVORGN_EFF_DATE) <= SYSDATE 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'

21 How your Database Professionals can Improve your Argos Reporting21 Thousands of Related Tables

22 How your Database Professionals can Improve your Argos Reporting22 Thousands of Related Tables The #2 Bane of Ad Hoc Banner Reporting

23 How your Database Professionals can Improve your Argos Reporting23 Thousands of Related Tables The #2 Bane of Ad Hoc Banner Reporting Oracle Views Can Flatten the Database

24 How your Database Professionals can Improve your Argos Reporting24 Views

25 How your Database Professionals can Improve your Argos Reporting25

26 How your Database Professionals can Improve your Argos Reporting26 Oracle Views

27 How your Database Professionals can Improve your Argos Reporting27 Oracle Views

28 How your Database Professionals can Improve your Argos Reporting28

29 How your Database Professionals can Improve your Argos Reporting29

30 How your Database Professionals can Improve your Argos Reporting30 Oracle Views

31 How your Database Professionals can Improve your Argos Reporting31 From the Users Point of View

32 How your Database Professionals can Improve your Argos Reporting32

33 How your Database Professionals can Improve your Argos Reporting33

34 How your Database Professionals can Improve your Argos Reporting34

35 How your Database Professionals can Improve your Argos Reporting35 Views

36 How your Database Professionals can Improve your Argos Reporting36 Banner Views

37 How your Database Professionals can Improve your Argos Reporting37 Banner Views Banner Actually Includes Useful Views

38 How your Database Professionals can Improve your Argos Reporting38 Banner Views PEVEMPL: Employee Information View

39 How your Database Professionals can Improve your Argos Reporting39 Banner Views PEVEMPL: Employee Information View A Commonly Used View

40 How your Database Professionals can Improve your Argos Reporting40 Banner Views PEVEMPL: Employee Information View A Commonly Used View Flattens 16 Tables

41 How your Database Professionals can Improve your Argos Reporting41 Banner Views PEVEMPL: Employee Information View A Commonly Used View Flattens 16 Tables Obscures the Source Column Names

42 How your Database Professionals can Improve your Argos Reporting42

43 How your Database Professionals can Improve your Argos Reporting43

44 How your Database Professionals can Improve your Argos Reporting44 Banner Views

45 How your Database Professionals can Improve your Argos Reporting45 Banner Views

46 How your Database Professionals can Improve your Argos Reporting46 Banner Views

47 How your Database Professionals can Improve your Argos Reporting47 Importing Desktop Data

48 How your Database Professionals can Improve your Argos Reporting48 Importing Desktop Data Oracle Operates Best with Data in Oracle

49 How your Database Professionals can Improve your Argos Reporting49 Importing Desktop Data Oracle Operates Best with Data in Oracle Upload Data Interactively with APEX

50 How your Database Professionals can Improve your Argos Reporting50 Importing Desktop Data Oracle Operates Best with Data in Oracle Upload Data Interactively with APEX Loading an Excel file Upload Using Batch Scripts

51 How your Database Professionals can Improve your Argos Reporting51 Oracle Application Express

52 How your Database Professionals can Improve your Argos Reporting52 Oracle Application Express

53 How your Database Professionals can Improve your Argos Reporting53 Oracle Application Express

54 How your Database Professionals can Improve your Argos Reporting54 Oracle Application Express

55 How your Database Professionals can Improve your Argos Reporting55 Oracle Application Express

56 How your Database Professionals can Improve your Argos Reporting56 Oracle Application Express

57 How your Database Professionals can Improve your Argos Reporting57 Oracle Application Express

58 How your Database Professionals can Improve your Argos Reporting58 Oracle Application Express

59 How your Database Professionals can Improve your Argos Reporting59 Oracle Application Express

60 How your Database Professionals can Improve your Argos Reporting60 Oracle Application Express

61 How your Database Professionals can Improve your Argos Reporting61 Oracle Application Express

62 How your Database Professionals can Improve your Argos Reporting62 Oracle Application Express

63 How your Database Professionals can Improve your Argos Reporting63 Oracle Application Express

64 How your Database Professionals can Improve your Argos Reporting64 Oracle Application Express

65 How your Database Professionals can Improve your Argos Reporting65 Oracle Application Express

66 How your Database Professionals can Improve your Argos Reporting66 Loading Excel Workbooks All you need is the Microsoft Excel Driver (*.xls) ODBC Driver And you can load the structured data using instructions available from But, you will not have access to another data source.

67 How your Database Professionals can Improve your Argos Reporting67 Batch Scripts

68 How your Database Professionals can Improve your Argos Reporting68 Batch Scripts

69 How your Database Professionals can Improve your Argos Reporting69 SQL*Plus Batch Script -- publication_approval.sql Test Script for SQL*Plus 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.csv --then filename1 => 'D:\orcl_ext\Application\publication_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 SPOOL publication_approval_run.log SELECT ' Host_Name: ' Variable, host_name Value FROM v$instance UNION ALL SELECT ' DB_Instance: ' Variable, SUBSTR(SUBSTR(global_name,1,30),1,instr(SUBSTR(global_name,1,30)||'.','.')-1) Value FROM global_name UNION ALL SELECT 'Oracle Version: ' Variable, version Value FROM v$instance;

70 How your Database Professionals can Improve your Argos Reporting70 SQL*Plus 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 select 'Current-Record-Count:PUB_APPROVAL', COUNT(*) FROM PUB_APPROVAL; SPOOL OFF -- Note that publication_approval_run.log is the result of SQL*Plus FEEDBACK -- publication_approval.log is the result of SQL*Loader via the External Table Load begin CES. _files( from_name => 'Publications', to_names => subject => 'Pubs Approval External Table Load', message => 'D:\orcl_ext\Scripts\publication_approval_run.log', filename1 => 'D:\orcl_ext\Publications\publication_approval.log', filetype1 => 'text/plain'); end; / EXIT

71 How your Database Professionals can Improve your Argos Reporting71 Windows 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_approval.log DEL D:\ORACLE_EXT\Publications\publication_approval.bad DEL D:\ORACLE_EXT\Publications\publication_approval.dsc EXIT

72 How your Database Professionals can Improve your Argos Reporting72 Bonus: Report Template

73 How your Database Professionals can Improve your Argos Reporting73 Bonus: Report Template

74 How your Database Professionals can Improve your Argos Reporting74 Conclusions Use Oracle Views to Simplify Banner Use Banner Views Whenever Available Use Batch Scripts to Upload Spreadsheets

75 How your Database Professionals can Improve your Argos Reporting75 Questions? Bruce Knox uaex.edu University of Arkansas Division of Agriculture Cooperative Extension Service Thank You! And, thanks to the Tennessee Board of Regents (TBR) and the Middle Tennessee State University

76 How your Database Professionals can Improve your Argos Reporting76 Contact Information Bruce Knox uaex.edu password is scripts University of Arkansas Division of Agriculture Cooperative Extension Service

77 How your Database Professionals can Improve your Argos Reporting77 Argos Resources Training classes Documentation and videos Argos Listserve Argos Coop Evisions HelpDesk


Download ppt "How your Database Professionals can Improve your Argos Reporting1 How Your DBA or Database Programmer Can Improve Your Argos Reporting! Presented By Bruce."

Similar presentations


Ads by Google