Hints. Mike Bell HLS Technologies,Inc. May 20, :45 P.M. 3:45 P.M. Platform: DB2 for Z/OS
|
|
|
- Paul Miles
- 9 years ago
- Views:
Transcription
1 Using SPUFI to Explore DB2 Hints Mike Bell HLS Technologies,Inc. May 20, :45 P.M. 3:45 P.M. Platform: DB2 for Z/OS
2 Session V04_15897 Using SPUFI to Explore DB2 Hints Mike Bell HLS Technologies, Inc. 2
3 Overview The theory of hints The pragmatics of hints Requirements e e for using SPUFI SPUFI examples Exposure in using hints Our Hint Management Solutions 3
4 The Theory of Hints Sometimes the optimizer needs help in finding the correct index Sometimes the optimizer needs help in picking the correct access path Changing the statistics are not always an option The statistics changes needed for a correctly changed access path are not always known 4
5 Catch 22 in the Theory We are told to use query numbers to avoid the hint number changing underneath us The reason we have to revert to a hint is because we can not modify the originating source even to insert query numbers We will deal with the SQL sequence number in the examples and show a method for their use in production later 5
6 The Pragmatics of Hints Hints are a method of suggesting an alternative to the optimizer The suggestion has to be valid Not all access path options are accepted. e.g., MAXCOLS You must use a V6 or higher PLAN_TABLE Only one hint name is allowed in a bind You must bind for the hint to take effect 6
7 Requirements for using SPUFI The DSNZPARM for hints needs to be turned on The PLAN_TABLE must be at V6 or higher You will need to add an index to the PLAN_TABLE Be careful in V8 CM not to use the V8 PLAN_TABLE as you will be unable to add indexes as needed 7
8 Assumptions for our SPUFI Examples You are on a test or sandbox system where you may try things before working in a more production-like environment You either have hints turned on in your DSNZPARM or You have downloaded file Hints Utility from the HLS website to turn hints on and off 8
9 Unintentional Exposures in using Hints Most generated rebinds are unaware of the presence of hints and so rebinds drop the hint A bind of program changes will drop a hint unless the hint is specified in the Bind control statements Usually the person doing the rebinds is unaware of a hint being present Often the programmer making changes is unaware of a hint being present 9
10 Setting up Hints using Spufi SPUFI to do an INSERT Building an INSERT using SPUFI Testing your hint using SPUFI SPUFI to INSERT (SELECT FROM) What values do you have to include What values are ignored Some samples of error messages 10
11 Method 1 INSERT INTO P390H.PLAN_TABLE VALUES (327, 1, ' ', 'TEST01 ', 1, 0, 'PUBLIC ', 'SYSCOLUMNS SCO S ', 1, 'I ', 2, 'PUBLIC ', 'DSNDCX01 ', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N 'N', ' IS', ' ', ' ', 'L', ' ', 0, ' 'TESTCOLLX ',,,,,,, ' ', ' ', ' ', ' ', ' ', ' ', 'SELECT', ' ', 'PRODHINT',' ') 11
12 Results DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL ",". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: ( + -? : CASE CAST NULL USER <FLOAT> CURRENT DEFAULT <DECIMAL> DSNT418I SQLSTATE = SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNHPARS SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = SQL DIAGNOSTIC INFORMATION DSNT416I SQLERRD = X' ' X' ' X' ' X 'FFFFFFFF' X'000001E9' X' ' SQL DIAGNOSTIC INFORMATION Have to specify NULL not just multiple commas for null values 12
13 Method 2 INSERT INTO P390H.PLAN_TABLE VALUES(327, 1, ' ', 'TEST01 ', 1, 0, 'PUBLIC ', 'SYSCOLUMNS ', 1, 'I ', 2, 'PUBLIC ', 'DSNDCX01 ', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', ' IS', ' ', ' ', 'L', ' ', 0, ' ', 'TESTCOLLX ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'SELECT', ' ', 'PRODHINT',' ') 13
14 Next Result DSNT408I SQLCODE = -408, ERROR: THE VALUE IS NOT COMPATIBLE WITH THE DATA TYPE OF ITS TARGET DSNT418I SQLSTATE = SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNXOCAS SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = SQL DIAGNOSTIC INFORMATION DSNT416I SQLERRD = X'FFFFFF9C' X' ' X' ' X'FFFFFFFF' X' ' X' ' SQL DIAGNOSTIC INFORMATION How many null parameters do I need to make it line up? 14
15 Method 3 INSERT INTO P390H.PLAN_TABLE VALUES(327, 1,' ', 'TEST01 ', 1, 0, 'PUBLIC ', 'SYSCOLUMNS ', 1, 'I ', 2, 'PUBLIC ', 'DSNDCX01 ', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', ' IS', ' ', ' ', 'L', ' ', 0, ' ', 'TESTCOLLX ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,' ', ' ', ' ', ' ', ' ', ' ', 'SELECT', ' ', 'PRODHINT',' ', ' 15
16 Aha! DSNE615I NUMBER OF ROWS AFFECTED IS 1 DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0 And this was just to insert a row into PLAN_TABLE 16
17 I was Cheating SELECT 'INSERT INTO P390H.PLAN_TABLE VALUES('CONCAT CHAR(QUERYNO ) CONCAT ', ' CONCAT CHAR(QBLOCKNO ) CONCAT ', ''' CONCAT APPLNAME CONCAT ''', ''' CONCAT PROGNAME CONCAT ''', ' CONCAT CHAR(PLANNO ) CONCAT ', ' CONCAT CHAR(METHOD ) CONCAT ', ''' CONCAT CREATOR CONCAT ''', ''' CONCAT TNAME CONCAT ''', ' And continued with Columns and Concat 17
18 Select from PLAN_TABLE SELECT FROM P390H.PLAN_TABLE WHERE APPLNAME = '' AND COLLID = 'TESTCOLLX' AND PROGNAME = 'TEST01' AND QUERYNO =
19 Some Comments on Building the Insert with SPUFI The default value for a text literal is VARCHAR Means the maximum length is 255 DSNE612I DATA FOR COLUMN HEADER COLUMN NUMBER 1 WAS TRUNCATED Even with V7 the generated INSERT statement was over 512 bytes Broke it into 3 SELECT statements And put it together with edit 19
20 Other Alternatives CAST('INSERT INTO P390H.PLAN_TABLE VALUES(' AS VARCHAR (1024)) Just for the first item in the SELECT Makes the whole string LONG VARCHAR Then you get to set the limit for SPUFI 11 MAX CHAR FIELD.. ===> 255 (Maximum width for character fields) Or use DSNTIAUL 20
21 Testing the Hint SET CURRENT OPTIMIZATION HINT = 'PRODHINT'; EXPLAIN PLAN SET QUERYNO = 327 FOR SELECT NAME, TBNAME, COLNO, COLTYPE, LENGTH FROM PUBLIC.SYSCOLUMNS WHERE TBNAME =? ; 21
22 OOPS! DSNT404I SQLCODE = 20007, WARNING: USE OF OPTIMIZATION HINTS IS DISALLOWED BY A DB2 SUBSYSTEM PARAMETER.THE SPECIAL REGISTER 'OPTIMIZATION HINT IS SET TO THE DEFAULT VALUE OF BLANKS. DSNT418I SQLSTATE = SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNXRSQO SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = SQL DIAGNOSTIC INFORMATION DSNT416I SQLERRD = X' ' X' ' X' ' X'FFFFFFFF' X' ' X' ' SQL DIAGNOSTIC INFORMATION 22
23 Fix it //HINTSON EXEC PGM=HINTON,PARM=DB7G //STEPLIB DD DISP=SHR,DSN=DSN710.SDSNEXIT Available at Or you can assemble DSNZPARM and restart DB2 23
24 Hints on IEF236I ALLOC. FOR P390HT3 HINTSON IEF237I 0A25 ALLOCATED TO STEPLIB IEF142I P390HT3 HINTSON - STEP WAS EXECUTED - COND CODE 0000 IEF285I DSN710.SDSNEXIT SDSNEXIT KEPT IEF285I VOL SER NOS= Z7DB71. Not much of a report but we do receive a Condition code
25 Retry SET CURRENT OPTIMIZATION HINT = 'PRODHINT'; DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS EXPLAIN PLAN SET QUERYNO = 327 FOR SELECT NAME, TBNAME, COLNO, COLTYPE, LENGTH FROM PUBLIC.SYSCOLUMNS WHERE TBNAME =? ; DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0 25
26 Why SQLCODE = 0? If Collid =DSNESPCS Progname =DSNESM68 Queryno = what ever you test with (327) 26
27 Redo the Insert with DSNESM68 (SPUFI Program Name) INSERT INTO P390H.PLAN_TABLE VALUES(327, 1, ' ', 'DSNESM68', 1, 0, 'PUBLIC ', 'SYSCOLUMNS ', 1, 'I ', 2, 'PUBLIC ', 'DSNDCX01 ', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', ' IS', ' ', ' ', 'L' ', ' ', 0, ' ', 'DSNESPCS ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ' ', ' ', ' ', ' ', ' ',' ', 'SELECT', ' ', 'PRODHINT',' ', ' ' ) 27
28 Still no good SET CURRENT OPTIMIZATION HINT = 'PRODHINT'; STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS EXPLAIN PLAN SET QUERYNO = 327 FOR SELECT NAME, TBNAME, COLNO, COLTYPE, LENGTH FROM PUBLIC.SYSCOLUMNS WHERE TBNAME =? ; DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0 Remember to change version along with Progname and Collid 28
29 Change the Insert Again INSERT INTO P390H.PLAN_TABLE VALUES(327, 1, ' ', 'DSNESM68', 1, 0, 'PUBLIC', 'SYSCOLUMNS', 1, 'I ', 2, 'PUBLIC', 'DSNDCX01', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', ' IS', ' ', ' ', 'L', ' ', 0, '', 'DSNESPCS', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ' ', ' ', ' ', ' ', ' ',' ', 'SELECT', ' ', 'PRODHINT',' ', ' ' ) 29
30 Finally! DSNT404I SQLCODE = 394, WARNING: USER SPECIFIED OPTIMIZATION HINTS USED DURING ACCESS PATH SELECTION DSNT418I SQLSTATE = SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNXOPTH SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = SQL DIAGNOSTIC INFORMATION DSNT416I SQLERRD = X' ' X' ' X' ' X'441092FE'X' ' X' ' SQL DIAGNOSTIC INFORMATION 30
31 DB2 Validates that the Hint is Intended for this Program PROGNAME, APPLNAME, COLLID, VERSION, QUERYNO, QBLOCKNO, OPTHINT If you intend to do many hints, it would make a good index 31
32 Check the Hint COLLID PROGNAME QUERYNO OPTHINT HINT_USED DSNESPCS DSNESM PRODHINT DSNESPCS DSNESM PRODHINT 32
33 Changed the Correlation Name to Table1 EXPLAIN ALL FOR SELECT NAME, TBNAME, COLNO, COLTYPE, LENGTH FROM PUBLIC.SYSCOLUMNS TABLE1 WHERE TBNAME =? QUERYNO 327 ; DSNT404I SQLCODE = 394, WARNING: USER SPECIFIED OPTIMIZATION HINTS USED DURING ACCESS PATH SELECTION Still used the hint 33
34 Changed the Where Clause EXPLAIN ALL FOR SELECT NAME, TBNAME, COLNO, COLTYPE, LENGTH FROM PUBLIC.SYSCOLUMNS TABLE1 WHERE NAME =? QUERYNO 327 ; DSNT404I SQLCODE = 394, WARNING: USER SPECIFIED OPTIMIZATION HINTS USED DURING CCESS PATH SELECTION It used the hint even though the index for the hint does Not contain that column 34
35 What Happened? MATCHCOLS PUBLIC DSNDCX01 Instead of the hint 2 PUBLIC DSNDCX01 You can use the hint to force DB2 to use a specific index but you can Not force match columns from what the optimizer knows 35
36 Another SQL to Build a Hint INSERT INTO P390H.PLAN_TABLE ("QUERYNO ), QBLOCKNO, APPLNAME, PROGNAME, PLANNO, METHOD, CREATOR, Leaving out the columns for parallel processing because they can be null 36
37 The SELECT Portion SELECT "QUERYNO, QBLOCKNO, APPLNAME...etc leaving out the columns for parallel processing because they can be null FROM PUBLIC.PLAN_TABLE WHERE APPLNAME = '' AND COLLID = 'TESTCOLLX' AND PROGNAME = 'TEST01' AND QUERYNO = 327 AND BIND_TIME = ' ; 37
38 And it Works DSNE615I NUMBER OF ROWS AFFECTED IS 1 DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0 Unless your hint is disposable, you may want a special PLAN_TABLE that doesn t get purged to keep them in 38
39 Let s Test a Bind DSN SYSTEM(DB7G) BIND PACKAGE(TESTCOLL) MEMBER(TEST01) - OWNER (P390H) QUALIFIER (PUBLIC) OPTHINT('PRODHINT') - ACTION(REPLACE) VALIDATE(BIND) ISOLATION(CS) EXPLAIN (YES) END Normal bind package with OPTHINT specified 39
40 The Output DSNT232I -DB7G SUCCESSFUL BIND FOR PACKAGE = DALLAS7.TESTCOLL.TEST01.( ) Not what we wanted to see Did not give +394 or +395 so it didn t findthe hint More likely the hint specifies a different version identifier 40
41 So let s Fix it UPDATE P390H.PLAN_TABLE SET VERSION = ' ', COLLID = 'TESTCOLL' WHERE APPLNAME = '' AND COLLID = 'TESTCOLLX' AND BIND_TIME = ' ' ; DSNE615I NUMBER OF ROWS AFFECTED IS 1 I had the COLLID wrong in the bind and the version 41
42 It Found the Hint DSNX105I -DB7G BIND SQL WARNING USING P390H AUTHORITY PLAN=(NOT APPLICABLE) DBRM=TEST01 STATEMENT=327 SQLCODE=395 SQLSTATE=01628 TOKENS=32 But it didn t like it 42
43 Error Codes are listed under SQLCODE TABNO is invalid. 3 TNAME is not specified. 4 TNAME is ambiguous. 5 TABNO doesn't agree with TNAME. 6 QBLOCKNO doesn't agree with TNAME. 7 PAGE_RANGE is invalid. 8 PREFETCH is invalid. 9 METHOD is invalid. 10 SORTN_JOIN is invalid. 43
44 Error Codes are listed under SQLCODE +395 continued 11 SORTC_JOIN is invalid. 12 ACCESSTYPE is invalid. 13 ACCESSCREATOR or ACCESSNAME is invalid. 14 TYPE 1 index can't be used with isolation level 'UR'. 15 Specified index can't be used as requested. 16 Multi-index access can't be done. 17 Invalid ACCESSTYPE combination. 18 METHOD specified for first table accessed. 19 Nested-loop join can't be done as requested. 20 Merge join can't be done as requested. 44
45 Error Codes are listed under SQLCODE +395 continued 21 Hybrid join can't be done as requested. 22 PARALLELISM_MODE requested can't be done. 23 PARALLELISM_MODE is invalid. 24 ACCESS_DEGREE is invalid. 25 JOIN_DEGREE is invalid. 26 A table is missing. 27 A table is redundant. 28 PRIMARY_ACCESSTYPE ACCESSTYPE is invalid. 29 ACCESS_PGROUP_ID is not specified. 30 JOIN_PGROUP_ID is not specified. 45
46 Error Codes are listed under SQLCODE +395 continued 31 PARALLELISM_MODE is not specified. 32 CREATOR or TNAME is invalid. 33 Join sequence is incorrect. 34 Full outer join requires merge join method. 35 WHEN_OPTIMIZE is invalid or inconsistent. 99 Unexpected Error. 46
47 Our Error was 32 CREATOR or TNAME is invalid. They lied it was the correlation name 327 PUBLIC SYSCOLUMNS PRODHINT PUBLIC SYSCOLUMNS
48 So Fix it UPDATE P390H.PLAN_TABLE SET CORRELATION_NAME = ' ' WHERE APPLNAME = '' AND COLLID = 'TESTCOLL' AND BIND_TIME = ' ' ; DSNE615I NUMBER OF ROWS AFFECTED IS 1 DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0 48
49 Finally! DSNX105I -DB7G BIND SQL WARNING USING P390H AUTHORITY PLAN=(NOT APPLICABLE) DBRM=TEST01 STATEMENT=327 SQLCODE=394 SQLSTATE=01629 TOKENS= 49
50 Now Check it QUERYNO OPTHINT HINT_USED 327 PRODHINT 327 PRODHINT Still have to check the actual access path 50
51 Let s review Matching PROGNAME, APPLNAME, COLLID, VERSION, QUERYNO, QBLOCKNO, OPTHINT Version(AUTO) means you have to update the hint for each compile QUERYNO means you have to change the QUERYNO if a programmer adds an IF statement and moves the query QBLOCKNO means a V7 hint will NOT work when V8 does a transformation and collapses the access path OPTHINT only has one value for the BIND so if you have multiple hints for the same program, they have to have the same OPTHINT value 51
52 More Matching Table creator, name, tabno, and correlation_name have to match If you specify an index, the ACCESSCREATOR and ACCESSNAME have to match You can only have one hint in the plan_table for a given program and queryno If you want to change it, delete the old hint and create a new one 52
53 This is just to Make an Old Access Path into a Hint Did Not change any of the old values for tables or indexes Did Not change JOIN sequence or method 53
54 Some Columns that the Optimizer Ignores if they are in a Hint MATCHCOLS you can force the optimizer to use an index but you can NOT force it to use the data in the index All the sort columns SORTN_UNIQ, SORTN_JOIN, SORTN_ORDERBY, SORTN_GROUPBY, SORTC_UNIQ, SORTC_JOIN, SORTC_ORDERBY, SORTC_GROUPBY The optimizer decides on sorts based on the SQL 54
55 Now some easier Methods Express Hints for DB2 COMMAND ===> Select the entity to be processed: Subsystem ID DB7G PLAN_TABLE owner.... p390h DBRM/package name.... test01 Enter "/" to Select option Process packages only Press ENTER to proceed. 55
56 So I might be a little sloppy with Test Programs Express Hints - Item Selection COMMAND ===> Target DBRM : TEST01 Choose an item to process: Type Plan or Collection PKG HEXCOLL. PKG TESTCOLL. PKG TESTCOLLNEW. PKG TESTCOLLX. PKG TESTCOLLXX1. PKG TESTCOLL7. PKG TESTFREE. PKG TESTFREE2. PKG TESTFREE3. PKG TESTFREE4 56
57 Three Old Versions Express Hints - Version List COMMAND ===> Package (DBRM).. : TEST01 Collection.... : TESTCOLLX Choose the version to process: Version
58 Look! Queryno 327 Again Express Hints - Statement Selection Row 1 to 10 COMMAND ===> Scroll===> Package : TEST01 Collection..... : TESTCOLL Version : Choose a statement to process: Queryno Statement DECLARE SYSIBM. SYSCOLUMNS TABLE ( NAME VARCHAR ( 18 ) NOT. 225 DECLARE SYSIBM. SYSTABLES TABLE ( NAME VARCHAR ( 18 ) NOT N. 327 DECLARE SELECT-1 CURSOR FOR SELECT NAME, TBNAME, COLNO, C. 333 DECLARE SELECT-2 CURSOR FOR SELECT NAME, CREATOR, TYPE, D. 444 OPEN SELECT FETCH SELECT-1 INTO : H, : H, : H, : H, : H. 462 CLOSE SELECT OPEN SELECT FETCH SELECT-2 INTO : H, : H, : H, : H, : H. 484 CLOSE SELECT-2 58
59 Start with Option 1 COMMAND ===> DBRM : TEST01 Collection.... : TESTCOLLX Version..... : Queryno..... : 327 Select one of the options below: 1 MODIFY Change access path 2 NAME Assign hint name 3 MAKE Create hint 59
60 Only Accesses a Single Table COMMAND ===> Scroll ===> DBRM : TEST01 Collection.... : TESTCOLL Version..... : Queryno..... : 327 Choose a query element to edit, or specify a different sequence Sequence Table Accessed P390H.SYSCOLUMNS 60
61 So let s turn off Prefetch Exp COMMAND ===> Package.. : TEST01 Query No.. : 327 Prefetch mode (PREFETCH) 1. S Sequential prefetch 2. L List prefetch 3. D Dynamic (Version 8 only) 4. Blank (no prefetch) Type of Access (ACCESSTYPE) 1. I By the index named below 2. I1 1-fetch index scan 3. N Index scan with 'IN' predicate 4. R Table space scan 5. M Multiple index scan 6. Blank Not applicable 61
62 Back out to the Menu Express Hints - Access Path Control COMMAND ===> DBRM : TEST01 Collection.... : TESTCOLLX Version..... : Queryno..... : 327 Select one of the options below: 1. MODIFY Change access path 2. NAME Assign hint name 3. MAKE Create hint 62
63 Now Specify the Hint Name Express Hints - Hint Name COMMAND ===> (OPTHINT)( ) Current hint name: New hint name: (none) Prodhint 63
64 If you use the same Hint Name (OPTHINT Value) Confirm Hint COMMAND ===> ++ WARNING ++ The hint name you have specified is already used by at least one PLAN_TABLE entry. If you use this hint name, the hint may be shared by multiple queries with unintended results. 64
65 Back to the Menu to Create the Hint Express Hints - Access Path Control COMMAND ===> DBRM : TEST01 Collection.... : TESTCOLLX Version..... : Queryno..... : 327 Select one of the options below: 1. MODIFY Change access path 2. NAME Assign hint name 3. MAKE Create hint 65
66 What Happened? Confirm Hint COMMAND ===> This Hint has been validated and accepted by DB2. If you wish, the hint can be saved in the plan table so that it may be used to bind with in the future. Press ENTER to save the hint in the plan table. Press END to return to the previous panel without saving the hint. 66
67 So now we have two Hints for the same Collid, Progname, and Version DELETE FROM P390H.PLAN_TABLE WHERE APPLNAME = '' AND PROGNAME = 'TEST01' AND COLLID = 'TESTCOLL' AND TIMESTAMP = ' ' ; 67
68 Forgot to Change the Qualifier DSNX105I -DB7G BIND SQL WARNING USING P390H AUTHORITY PLAN=(NOT APPLICABLE) DBRM=TEST01 STATEMENT=327 SQLCODE=395 SQLSTATE=01628 TOKENS=32 68
69 Another Successful Hint DSNX105I -DB7G BIND SQL WARNING USING P390H AUTHORITY PLAN=(NOT APPLICABLE) DBRM=TEST01 STATEMENT=327 SQLCODE=394 SQLSTATE=01629 TOKENS= 69
70 Hint was Used QUERYNO OPTHINT HINT_USED PRODHINT 327 PRODHINT And PREFETCH Hard to show prefetch value = spaces but? 70
71 HLS Product PATHCHK //STEP EXEC PGM=PATHCHK //SYSIN DD * OPTIONS CONVERTHINT PRODHINT CONNECT TO DB7G SET CURRENT SQLID = 'P390H' TEST DBRM TEST01 AS PACKAGE TESTCOLL.* IN P390H.PLAN_TABLE 71
72 Batch Program IN QRYNO M CREATOR TNAME TBNO AC MC CREATOR ACCESSNAME * P390H SYSCOLUMNS 1 R 0 PCK220I DATA CHANGE FOR COLUMN PREFETCH WAS PCK221I DATA CHANGE FOR COLUMN PREFETCH IS NOW S PCK224I DSN_STATEMNT_TABLE STATEMNT TABLE ESTIMATED COST CHANGE - OLD EST SVC UNITS 209 PCK223I DSN_STATEMNT_TABLE ESTIMATED COST CHANGE - NEW EST SVC UNITS
73 Another Lazy way to Get a Hint DSNX105I -DB7G BIND SQL WARNING USING P390H AUTHORITY PLAN=(NOT APPLICABLE) DBRM=TEST01 STATEMENT=327 SQLCODE=394 SQLSTATE=01629 TOKENS= 73
74 Path Check Will preserve a hint across SQL changes Can even create the hint if queryno changes Corrects for the new VERSION(AUTO) Make the access path the same as the old access path Don t think about it 74
75 Now Recompile to get new Version JOB JOBNAME STEPNAME PROCSTEP RC JOB P390HC01 PRECOMP JOB P390HC01 COB2COMP JOB P390HC01 LKED JOB P390HC01 DB2BIND 00 75
76 Building a Presentation at the Last Minute DSNX105I -DB7G BIND SQL WARNING USING P390H AUTHORITY PLAN=(NOT APPLICABLE) DBRM=TEST01 STATEMENT=327 SQLCODE=394 SQLSTATE=01629 TOKENS= DSNT254I -DB7G DSNTBCM2 BIND OPTIONS FOR PACKAGE = DALLAS7.TESTCOLL.TEST01.( ) 76
77 Notice we Aren t Using Queryno =327 IN QRYNO M CREATOR TNAME TBNO AC MC CREATOR ACCESSNAME * P390H SYSCOLUMNS 1 R 0 PCK220I DATA CHANGE FOR COLUMN PREFETCH WAS PCK221I DATA CHANGE FOR COLUMN PREFETCH IS NOW S PCK224I DSN_STATEMNT_TABLE ESTIMATED COST CHANGE - OLD EST SVC UNITS 209 PCK223I DSN_STATEMNT_TABLE ESTIMATED COST CHANGE - NEW EST SVC UNITS
78 Created the Hint Row with the New Queryno QUERYNO OPTHINT HINT_USED PRODHINT 333 PRODHINT 78
79 And No Hints for Parallel Access I am only trying to cover basic DEGREE=1 access paths Didn t even cover multiple step access paths. The first method has to be 0 then 1-4 See the Presentation Titled Implementing DB2 for z/os Optimization Hints by Patrick Bossman 79
80 Our Hint Management Solutions Path Check Convert Hint will insure hints are not lost in the bind process Hint / Rebind Will insure that hints are not lost in the rebind process, which is the most common source of a loss Express Hints An ISPF interface that finds and sets the correct values and then does a test to see if the hint will take 80
81 You are Now a HINT Expert! Please Come visit us at our Booth to receive your Expert Pin! 81
SQL Optimization & Access Paths: What s Old & New Part 1
SQL Optimization & Access Paths: What s Old & New Part 1 David Simpson Themis Inc. [email protected] 2008 Themis, Inc. All rights reserved. David Simpson is currently a Senior Technical Advisor at
Explaining EXPLAIN: DB2 10 Edition
#db2zos Willie Favero Dynamic Warehouse on z/os Swat Team DB2 SME IBM Silicon Valley Laboratory 713-940-1132 [email protected] Notices This information was developed for products and services offered
Embedded SQL programming
Embedded SQL programming http://www-136.ibm.com/developerworks/db2 Table of contents If you're viewing this document online, you can click any of the topics below to link directly to that section. 1. Before
SQL Performance and Tuning. DB2 Relational Database
SQL Performance and Tuning DB2 Relational Database 1 Course Overview The DB2 Optimizer SQL Coding Strategies and Guidelines DB2 Catalog Filter Factors for Predicates Runstats and Reorg Utilities DB2 Explain
Session: Archiving DB2 comes to the rescue (twice) Steve Thomas CA Technologies. Tuesday Nov 18th 10:00 Platform: z/os
Session: Archiving DB2 comes to the rescue (twice) Steve Thomas CA Technologies Tuesday Nov 18th 10:00 Platform: z/os 1 Agenda Why Archive data? How have DB2 customers archived data up to now Transparent
ERserver. DB2 Universal Database for iseries SQL Programming with Host Languages. iseries. Version 5
ERserver iseries DB2 Universal Database for iseries SQL Programming with Host Languages Version 5 ERserver iseries DB2 Universal Database for iseries SQL Programming with Host Languages Version 5 Copyright
IBM DB2 for z/os. DB2 Version 9 - Zusammenfassung. (DB2_V9_SUMMARYnews.ppt) Dez, 09 1 (*)
(*) IBM DB2 for z/os DB2 Version 9 - Zusammenfassung (DB2_V9_SUMMARYnews.ppt) (*) ist eingetragenes Warenzeichen der IBM International Business Machines Inc. 1 Vergangenheit, DB2 V9 und Zukunft 2 Alle
DB2 for z/os: Utilities and Application Development
TRAINING & CONSULTING DB2 for z/os: Utilities and Application ABIS Training & Consulting www.abis.be [email protected] 2005, 2006 Document number: 0092_03b.fm 11 January 2006 Address comments concerning
SQL Server Replication Guide
SQL Server Replication Guide Rev: 2013-08-08 Sitecore CMS 6.3 and Later SQL Server Replication Guide Table of Contents Chapter 1 SQL Server Replication Guide... 3 1.1 SQL Server Replication Overview...
Best Practices for DB2 on z/os Performance
Best Practices for DB2 on z/os Performance A Guideline to Achieving Best Performance with DB2 Susan Lawson and Dan Luksetich www.db2expert.com and BMC Software September 2008 www.bmc.com Contacting BMC
Database SQL messages and codes
System i Database SQL messages and codes Version 5 Release 4 System i Database SQL messages and codes Version 5 Release 4 Note Before using this information and the product it supports, read the information
Using SQL Server Management Studio
Using SQL Server Management Studio Microsoft SQL Server Management Studio 2005 is a graphical tool for database designer or programmer. With SQL Server Management Studio 2005 you can: Create databases
Database Programming with PL/SQL: Learning Objectives
Database Programming with PL/SQL: Learning Objectives This course covers PL/SQL, a procedural language extension to SQL. Through an innovative project-based approach, students learn procedural logic constructs
Embedding SQL in High Level Language Programs
Embedding SQL in High Level Language Programs Alison Butterill IBM i Product Manager Power Systems Agenda Introduction Basic SQL within a HLL program Processing multiple records Error detection Dynamic
Lab Experience 17. Programming Language Translation
Lab Experience 17 Programming Language Translation Objectives Gain insight into the translation process for converting one virtual machine to another See the process by which an assembler translates assembly
Chapter 9, More SQL: Assertions, Views, and Programming Techniques
Chapter 9, More SQL: Assertions, Views, and Programming Techniques 9.2 Embedded SQL SQL statements can be embedded in a general purpose programming language, such as C, C++, COBOL,... 9.2.1 Retrieving
Using SQL in RPG Programs: An Introduction
Using SQL in RPG Programs: An Introduction OCEAN Technical Conference Catch the Wave Susan M. Gantner susan.gantner @ partner400.com www.partner400.com Your partner in AS/400 and iseries Education Copyright
How To Understand The Error Codes On A Crystal Reports Print Engine
Overview Error Codes This document lists all the error codes and the descriptions that the Crystal Reports Print Engine generates. PE_ERR_NOTENOUGHMEMORY (500) There is not enough memory available to complete
Converting SQLBase Databases to Microsoft Access
for Environmental Management of Military Lands Converting SQLBase Databases to Microsoft Access By William Sprouse CEMML CENTER FOR ENVIRONMENTAL MANAGEMENT OF MILITARY LANDS Colorado State University
DB2 for z/os Migration: Query Performance Considerations
DB2 for z/os Migration: Query Performance Considerations Réunion du Guide DB2 pour z/os France Lundi 18 mars 2013 Tour Euro Plaza, Paris-La Défense Tom Beavin Silicon Valley Lab Email: [email protected]
PLATINUM PLAN ANALYZER EXPLAIN SERVICES
PLATINUM PLAN ANALYZER EXPLAIN SERVICES by Michelle Metcalf This document is not intended to be complete. In most cases you should reference your user manuals to look up complete and comprehensive information
Best Practices in SQL Programming. Madhivanan
Best Practices in SQL Programming Madhivanan Do not use irrelevant datatype VARCHAR instead of DATETIME CHAR(N) instead of VARCHAR(N) etc Do not use VARCHAR instead of DATETIME create table #employee_master(emp_id
Choosing a Data Model for Your Database
In This Chapter This chapter describes several issues that a database administrator (DBA) must understand to effectively plan for a database. It discusses the following topics: Choosing a data model for
Revolutionized DB2 Test Data Management
Revolutionized DB2 Test Data Management TestBase's Patented Slice Feature Provides a Fresh Solution to an Old Set of DB2 Application Testing Problems The challenge in creating realistic representative
Guide to the Superbase. ODBC Driver. By Superbase Developers plc
Guide to the Superbase ODBC Driver By Superbase Developers plc This manual was produced using Doc-To-Help, by WexTech Systems, Inc. WexTech Systems, Inc. 310 Madison Avenue, Suite 905 New York, NY 10017
Rochester Institute of Technology. Oracle Training: Advanced Financial Application Training
Rochester Institute of Technology Oracle Training: Advanced Financial Application Training Table of Contents Introduction Lesson 1: Lesson 2: Lesson 3: Lesson 4: Creating Journal Entries using Excel Account
NØGSG DMR Contact Manager
NØGSG DMR Contact Manager Radio Configuration Management Software for Connect Systems CS700 and CS701 DMR Transceivers End-User Documentation Version 1.24 2015-2016 Tom A. Wheeler [email protected] Terms
MOC 20461C: Querying Microsoft SQL Server. Course Overview
MOC 20461C: Querying Microsoft SQL Server Course Overview This course provides students with the knowledge and skills to query Microsoft SQL Server. Students will learn about T-SQL querying, SQL Server
Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia
Topics Advanced PL/SQL, Integration with PROIV SuperLayer and use within Glovia 1. SQL Review Single Row Functions Character Functions Date Functions Numeric Function Conversion Functions General Functions
1. To start Installation: To install the reporting tool, copy the entire contents of the zip file to a directory of your choice. Run the exe.
CourseWebs Reporting Tool Desktop Application Instructions The CourseWebs Reporting tool is a desktop application that lets a system administrator modify existing reports and create new ones. Changes to
SQL Performance for a Big Data 22 Billion row data warehouse
SQL Performance for a Big Data Billion row data warehouse Dave Beulke dave @ d a v e b e u l k e.com Dave Beulke & Associates Session: F19 Friday May 8, 15 8: 9: Platform: z/os D a v e @ d a v e b e u
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
est: Final Exam Semester 1 Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. Section 6 1. How can you retrieve the error code and error message of any
Guide to Performance and Tuning: Query Performance and Sampled Selectivity
Guide to Performance and Tuning: Query Performance and Sampled Selectivity A feature of Oracle Rdb By Claude Proteau Oracle Rdb Relational Technology Group Oracle Corporation 1 Oracle Rdb Journal Sampled
USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)
USING MYWEBSQL MyWebSQL is a database web administration tool that will be used during LIS 458 & CS 333. This document will provide the basic steps for you to become familiar with the application. 1. To
C H A P T E R Condition Handling
ch05.fm Page 75 Wednesday, November 13, 2002 7:16 AM 5 C H A P T E R Condition Handling In this chapter, you will learn: what SQLCODE and SQLSTATE are, and the difference between them. what a condition
D61830GC30. MySQL for Developers. Summary. Introduction. Prerequisites. At Course completion After completing this course, students will be able to:
D61830GC30 for Developers Summary Duration Vendor Audience 5 Days Oracle Database Administrators, Developers, Web Administrators Level Technology Professional Oracle 5.6 Delivery Method Instructor-led
Database DB2 Universal Database for iseries Embedded SQL programming
System i Database DB2 Universal Database for iseries Embedded SQL programming Version 5 Release 4 System i Database DB2 Universal Database for iseries Embedded SQL programming Version 5 Release 4 Note
Downloading Your Financial Statements to Excel
Downloading Your Financial Statements to Excel Downloading Data from CU*BASE to PC INTRODUCTION How can I get my favorite financial statement from CU*BASE into my Excel worksheet? How can I get this data
Programming with SQL
Unit 43: Programming with SQL Learning Outcomes A candidate following a programme of learning leading to this unit will be able to: Create queries to retrieve information from relational databases using
The Sins of SQL Programming that send the DB to Upgrade Purgatory Abel Macias. 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.
The Sins of SQL Programming that send the DB to Upgrade Purgatory Abel Macias 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Who is Abel Macias? 1994 - Joined Oracle Support 2000
SQL Server Database Coding Standards and Guidelines
SQL Server Database Coding Standards and Guidelines http://www.sqlauthority.com Naming Tables: Stored Procs: Triggers: Indexes: Primary Keys: Foreign Keys: Defaults: Columns: General Rules: Rules: Pascal
Merging Labels, Letters, and Envelopes Word 2013
Merging Labels, Letters, and Envelopes Word 2013 Merging... 1 Types of Merges... 1 The Merging Process... 2 Labels - A Page of the Same... 2 Labels - A Blank Page... 3 Creating Custom Labels... 3 Merged
A basic create statement for a simple student table would look like the following.
Creating Tables A basic create statement for a simple student table would look like the following. create table Student (SID varchar(10), FirstName varchar(30), LastName varchar(30), EmailAddress varchar(30));
Errors That Can Occur When You re Running a Report From Tigerpaw s SQL-based System (Version 9 and Above) Modified 10/2/2008
Errors That Can Occur When You re Running a Report From Tigerpaw s SQL-based System (Version 9 and Above) Modified 10/2/2008 1 Introduction The following is an explanation of some errors you might encounter
DB2 11 for z/os Profiles Overview The New ZParms and MORE!
DB2 11 for z/os Profiles Overview The New ZParms and MORE! Paul Bartak, IBM DB2 Advisor [email protected] 1 Profiles are gaining momentum, flexibility, and are evolving A profile is a set of criteria
In this session, we use the table ZZTELE with approx. 115,000 records for the examples. The primary key is defined on the columns NAME,VORNAME,STR
1 2 2 3 In this session, we use the table ZZTELE with approx. 115,000 records for the examples. The primary key is defined on the columns NAME,VORNAME,STR The uniqueness of the primary key ensures that
2011 SOFTWARE ENGINEERING GMBH and SEGUS Inc. 0
SQL Life Cycle Management 2011 SOFTWARE ENGINEERING GMBH and SEGUS Inc. 0 DB2 Innovations Addressing Business Exposures SYSTEM DATABASE APPLICATION Unplanned Outages Unpredictable Performance Business
Using AS/400 Database Monitor To Identify and Tune SQL Queries
by Rick Peterson Dale Weber Richard Odell Greg Leibfried AS/400 System Performance IBM Rochester Lab May 2000 Page 1 Table of Contents Introduction... Page 4 What is the Database Monitor for AS/400 tool?...
Intro to Embedded SQL Programming for ILE RPG Developers
Intro to Embedded SQL Programming for ILE RPG Developers Dan Cruikshank DB2 for i Center of Excellence 1 Agenda Reasons for using Embedded SQL Getting started with Embedded SQL Using Host Variables Using
Scan Physical Inventory
Scan Physical Inventory There are 2 ways to do Inventory: #1 Count everything in inventory, usually done once a quarter #2 Count in cycles per area or category. This is a little easier and usually takes
Oracle Database 10g Express
Oracle Database 10g Express This tutorial prepares the Oracle Database 10g Express Edition Developer to perform common development and administrative tasks of Oracle Database 10g Express Edition. Objectives
Instant SQL Programming
Instant SQL Programming Joe Celko Wrox Press Ltd. INSTANT Table of Contents Introduction 1 What Can SQL Do for Me? 2 Who Should Use This Book? 2 How To Use This Book 3 What You Should Know 3 Conventions
Guide to SQL Programming: SQL:1999 and Oracle Rdb V7.1
Guide to SQL Programming: SQL:1999 and Oracle Rdb V7.1 A feature of Oracle Rdb By Ian Smith Oracle Rdb Relational Technology Group Oracle Corporation 1 Oracle Rdb Journal SQL:1999 and Oracle Rdb V7.1 The
Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)
Lesson 07: MS ACCESS - Handout Handout Introduction to database (30 mins) Microsoft Access is a database application. A database is a collection of related information put together in database objects.
SQL Server. 2012 for developers. murach's TRAINING & REFERENCE. Bryan Syverson. Mike Murach & Associates, Inc. Joel Murach
TRAINING & REFERENCE murach's SQL Server 2012 for developers Bryan Syverson Joel Murach Mike Murach & Associates, Inc. 4340 N. Knoll Ave. Fresno, CA 93722 www.murach.com [email protected] Expanded
Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff
D80198GC10 Oracle Database 12c SQL and Fundamentals Summary Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff Level Professional Delivery Method Instructor-led
3.GETTING STARTED WITH ORACLE8i
Oracle For Beginners Page : 1 3.GETTING STARTED WITH ORACLE8i Creating a table Datatypes Displaying table definition using DESCRIBE Inserting rows into a table Selecting rows from a table Editing SQL buffer
Oracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along
InterBase 6. Embedded SQL Guide. Borland/INPRISE. 100 Enterprise Way, Scotts Valley, CA 95066 http://www.interbase.com
InterBase 6 Embedded SQL Guide Borland/INPRISE 100 Enterprise Way, Scotts Valley, CA 95066 http://www.interbase.com Inprise/Borland may have patents and/or pending patent applications covering subject
ACCESS 2007. Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700
Information Technology MS Access 2007 Users Guide ACCESS 2007 Importing and Exporting Data Files IT Training & Development (818) 677-1700 [email protected] TABLE OF CONTENTS Introduction... 1 Import Excel
Detail Report Excel Guide for High Schools
StudentTracker SM Detail Report NATIONAL STUDENT CLEARINGHOUSE RESEARCH CENTER 2300 Dulles Station Blvd., Suite 300, Herndon, VA 20171 Contents How the National Student Clearinghouse populates its database...
Web Intelligence User Guide
Web Intelligence User Guide Office of Financial Management - Enterprise Reporting Services 4/11/2011 Table of Contents Chapter 1 - Overview... 1 Purpose... 1 Chapter 2 Logon Procedure... 3 Web Intelligence
Firebird. Embedded SQL Guide for RM/Cobol
Firebird Embedded SQL Guide for RM/Cobol Embedded SQL Guide for RM/Cobol 3 Table of Contents 1. Program Structure...6 1.1. General...6 1.2. Reading this Guide...6 1.3. Definition of Terms...6 1.4. Declaring
DataLogger. 2015 Kepware, Inc.
2015 Kepware, Inc. 2 DataLogger Table of Contents Table of Contents 2 DataLogger Help 4 Overview 4 Initial Setup Considerations 5 System Requirements 5 External Dependencies 5 SQL Authentication 6 Windows
Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Test: Final Exam Semester 1 Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. Section 6 1. The following code does not violate any constraints and will
Suite. How to Use GrandMaster Suite. Exporting with ODBC
Suite How to Use GrandMaster Suite Exporting with ODBC This page intentionally left blank ODBC Export 3 Table of Contents: HOW TO USE GRANDMASTER SUITE - EXPORTING WITH ODBC...4 OVERVIEW...4 WHAT IS ODBC?...
KB_SQL SQL Reference Guide Version 4
KB_SQL SQL Reference Guide Version 4 1995, 1999 by KB Systems, Inc. All rights reserved. KB Systems, Inc., Herndon, Virginia, USA. Printed in the United States of America. No part of this manual may be
Physical File. Collection or Schema
! "#$ %! iseries Library Physical File Record Field Logical File SQL Collection or Schema Table Row Column View or Index ! &! '!$ $ ()*++,, $,-.".".),-/ 0$1 234 5$ $,6 % '7 - -!# 8-9-,7-8 - %%.).-'-9 '!-
DBMS / Business Intelligence, SQL Server
DBMS / Business Intelligence, SQL Server Orsys, with 30 years of experience, is providing high quality, independant State of the Art seminars and hands-on courses corresponding to the needs of IT professionals.
ODBC Client Driver Help. 2015 Kepware, Inc.
2015 Kepware, Inc. 2 Table of Contents Table of Contents 2 4 Overview 4 External Dependencies 4 Driver Setup 5 Data Source Settings 5 Data Source Setup 6 Data Source Access Methods 13 Fixed Table 14 Table
IBM Redistribute Big SQL v4.x Storage Paths IBM. Redistribute Big SQL v4.x Storage Paths
Redistribute Big SQL v4.x Storage Paths THE GOAL The Big SQL temporary tablespace is used during high volume queries to spill sorts or intermediate data to disk. To improve I/O performance for these queries,
Getting Started with Tuning SQL Statements in IBM Data Studio and IBM Data Studio (stand-alone), Version 2.2.1
Getting Started with Tuning SQL Statements in IBM Data Studio and IBM Data Studio (stand-alone), Version 2.2.1 Getting Started with Tuning SQL Statements in IBM Data Studio and IBM Data Studio (stand-alone),
Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC 10.1.3.4.1
Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC 10.1.3.4.1 Mark Rittman, Director, Rittman Mead Consulting for Collaborate 09, Florida, USA,
Oracle For Beginners Page : 1
Oracle For Beginners Page : 1 Chapter 24 NATIVE DYNAMIC SQL What is dynamic SQL? Why do we need dynamic SQL? An Example of Dynamic SQL Execute Immediate Statement Using Placeholders Execute a Query Dynamically
Oracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: + 38516306373 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the
AWS Schema Conversion Tool. User Guide Version 1.0
AWS Schema Conversion Tool User Guide AWS Schema Conversion Tool: User Guide Copyright 2016 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may
911207 Amman 11191 Jordan e-mail: [email protected] Mob: +962 79 999 65 85 Tel: +962 6 401 5565
1 Dynamics GP Excel Paste Installation and deployment guide 2 DISCLAIMER STATEMENT All the information presented in this document is the sole intellectual property of Dynamics Innovations IT Solutions.
Oracle Database 10g: Introduction to SQL
Oracle University Contact Us: 1.800.529.0165 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database technology.
COMMANDtrack. Service Bulletin 2.7 Release Date: September 13, 2011. New Functionality. Application CR Description
COMMANDtrack Service Bulletin 2.7 Release Date: September 13, 2011 Application CR Description New Functionality All 67608 COMMANDtrack now uses the culture of a computer to determine the date and numeric
5. CHANGING STRUCTURE AND DATA
Oracle For Beginners Page : 1 5. CHANGING STRUCTURE AND DATA Altering the structure of a table Dropping a table Manipulating data Transaction Locking Read Consistency Summary Exercises Altering the structure
2. Which of the following declarations is invalid? Mark for Review (1) Points
Mid Term Exam Semester 1 - Part 1 1. 1. Null 2. False 3. True 4. 0 Which of the above can be assigned to a Boolean variable? 2 and 3 2, 3 and 4 1, 2 and 3 (*) 1, 2, 3 and 4 2. Which of the following declarations
Access Tutorial 2: Tables
Access Tutorial 2: Tables 2.1 Introduction: The importance of good table design Tables are where data in a database is stored; consequently, tables form the core of any database application. In addition
Contents CHAPTER 1 IMail Utilities
Contents CHAPTER 1 IMail Utilities CHAPTER 2 Collaboration Duplicate Entry Remover... 2 CHAPTER 3 Disk Space Usage Reporter... 3 CHAPTER 4 Forward Finder... 4 CHAPTER 5 IMAP Copy Utility... 5 About IMAP
Teradata Utilities Class Outline
Teradata Utilities Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet. Education Contact:
Q&As: Microsoft Excel 2013: Chapter 2
Q&As: Microsoft Excel 2013: Chapter 2 In Step 5, why did the date that was entered change from 4/5/10 to 4/5/2010? When Excel recognizes that you entered a date in mm/dd/yy format, it automatically formats
How to test and debug an ASP.NET application
Chapter 4 How to test and debug an ASP.NET application 113 4 How to test and debug an ASP.NET application If you ve done much programming, you know that testing and debugging are often the most difficult
KPN SMS mail. Send SMS as fast as e-mail!
KPN SMS mail Send SMS as fast as e-mail! Quick start Start using KPN SMS mail in 5 steps If you want to install and use KPN SMS mail quickly, without reading the user guide, follow the next five steps.
ERserver. iseries. DB2 Universal Database for iseries SQL Programming with Host Languages
ERserver iseries DB2 Universal Database for iseries SQL Programming with Host Languages 2 ERserver iseries DB2 Universal Database for iseries SQL Programming with Host Languages 2 Copyright International
Oracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to
ProSoftMod Commission Report Documentation
ProSoftMod Commission Report Documentation The purpose of these modifications is to produce commission reports by salesman. The reports can be done by total sales or gross profit. The can also by produced
CA Performance Handbook. for DB2 for z/os
CA Performance Handbook for DB2 for z/os About the Contributors from Yevich, Lawson and Associates Inc. DAN LUKSETICH is a senior DB2 DBA. He works as a DBA, application architect, presenter, author, and
Creating and Using Databases with Microsoft Access
CHAPTER A Creating and Using Databases with Microsoft Access In this chapter, you will Use Access to explore a simple database Design and create a new database Create and use forms Create and use queries
Microsoft SQL Server Scheduling
Microsoft SQL Server Scheduling Table of Contents INTRODUCTION 3 MSSQL EXPRESS DATABASE SCHEDULING 3 SQL QUERY FOR BACKUP 3 CREATION OF BATCH FILE 6 CREATE NEW SCHEDULER JOB 6 SELECT THE PROGRAM FOR SCHEDULING
Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification
Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 Outline More Complex SQL Retrieval Queries
ODBC Driver Version 4 Manual
ODBC Driver Version 4 Manual Revision Date 12/05/2007 HanDBase is a Registered Trademark of DDH Software, Inc. All information contained in this manual and all software applications mentioned in this manual
Microsoft Visual Studio Integration Guide
Microsoft Visual Studio Integration Guide MKS provides a number of integrations for Integrated Development Environments (IDEs). IDE integrations allow you to access MKS Integrity s workflow and configuration
C++ INTERVIEW QUESTIONS
C++ INTERVIEW QUESTIONS http://www.tutorialspoint.com/cplusplus/cpp_interview_questions.htm Copyright tutorialspoint.com Dear readers, these C++ Interview Questions have been designed specially to get
LOBs were introduced back with DB2 V6, some 13 years ago. (V6 GA 25 June 1999) Prior to the introduction of LOBs, the max row size was 32K and the
First of all thanks to Frank Rhodes and Sandi Smith for providing the material, research and test case results. You have been working with LOBS for a while now, but V10 has added some new functionality.
ERserver. Embedded SQL programming. iseries. Version 5 Release 3
ERserer iseries Embedded SQL programming Version 5 Release 3 ERserer iseries Embedded SQL programming Version 5 Release 3 Note Before using this information and the product it supports, be sure to read
