Professional Documents
Culture Documents
Slide 2
Topics
Learning to analyze the SQL query The use of functions within selection criteria Using SQL expressions to improve performance Avoiding formulas in record selection The importance of database indexes SQL commands and report performance Effectively using subreports and variables Development Q&A
Ease of
Performance
Slide 3
1/4
Slide 4
2/4
Slide 5
3/4
Slide 6
4/4
Slide 7
Topics
Learning to analyze the SQL query The use of functions within selection criteria Using SQL expressions to improve performance Avoiding formulas in record selection The importance of database indexes SQL commands and report performance Effectively using subreports and variables Development Q&A
Ease of
Performance
Slide 8
Slide 9
2/6
The database returns all customersnot just those starting with C Crystal Reports further filters the data so the results appear the same
Slide 10
3/6
Slide 11
4/6
Slide 12
5/6
Slide 13
6/6
Slide 14
Topics
Learning to analyze the SQL query The use of functions within selection criteria Using SQL expressions to improve performance Avoiding formulas in record selection The importance of database indexes SQL commands and report performance Effectively using subreports and variables Development Q&A
Ease of
Performance
Slide 15
SQL expressions are not limited to the list displayed from within Crystal
Slide 16
Slide 17
Topics
Learning to analyze the SQL query The use of functions within selection criteria Using SQL expressions to improve performance Avoiding formulas in record selection The importance of database indexes SQL commands and report performance Effectively using subreports and variables Development Q&A
Ease of
Performance
Slide 18
Instead of formulas, write the syntax in the record selection Avoid if / then / else statements in record selection in favor of or
If {?Param} = Active then {Emp.Status} = A else. {?Param} = Terminated and {Emp.Status} = T or
Slide 19
Topics
Learning to analyze the SQL query The use of functions within selection criteria Using SQL expressions to improve performance Avoiding formulas in record selection The importance of database indexes SQL commands and report performance Effectively using subreports and variables Development Q&A
Ease of
Performance
Slide 20
Slide 21
Topics
Learning to analyze the SQL query The use of functions within selection criteria Using SQL expressions to improve performance Avoiding formulas in record selection The importance of database indexes SQL commands and report performance Effectively using subreports and variables Development Q&A
Ease of
Performance
Slide 22
What to avoid
Linking to other tablesno index Linking to other commandsno index
Slide 23
Topics
Learning to analyze the SQL query The use of functions within selection criteria Using SQL expressions to improve performance Avoiding formulas in record selection The importance of database indexes SQL commands and report performance Effectively using subreports and variables Development Q&A
Ease of
Performance
Slide 24
1/2
Disparate record selectiontop 5 customers and top 5 salespeople Unequal number of records2 comp lines 4 deduction lines
Slide 25
2/2
Slide 26
Topics
Learning to analyze the SQL query The use of functions within selection criteria Using SQL expressions to improve performance Avoiding formulas in record selection The importance of database indexes SQL commands and report performance Effectively using subreports and variables Development Q&A
Ease of
Performance
Slide 27
Q&A
Questions??
Slide 28