TechTips / SQL


TechTip: Boost SQL Performance on DDS Databases PDF Print E-mail
Tips & Techniques - SQL
Written by Kent Milligan   
Friday, 20 May 2011 00:00

Did you know that there are PTFs that can give you some 7.1 performance benefits even if you're still on 6.1?

kent_milligan_117x117Written by Kent Milligan

One of the benefits of having a single integrated relational database in the IBM i operating system is that developers can freely mix and match different database interfaces. Database objects created with SQL can be accessed using the native record-level access interfaces. And database files created with Data Definition Specifications (DDS) can be accessed from SQL interfaces. There are a few exceptions, but this interface flexibility holds true most of the time.

Last Updated on Friday, 20 May 2011 00:00
Read more...
 
User Rating: / 3
PoorBest 
TechTip: Using SQL Client Special Registers in DB2 Web Query PDF Print E-mail
Tips & Techniques - SQL
Written by Gene Cobb   
Friday, 08 April 2011 00:00

Leverage DB2 Web Query and SQL client special registers.

gene_cobbWritten by Gene Cobb

In V6R1 of the IBM i operating system, support was added for the specification (and subsequent retrieval) of several new special registers that applications can use to identify what jobs, users, programs, and applications are issuing SQL statements to the DB2 for i engine. Currently, there are five such registers you can use:

Last Updated on Wednesday, 06 April 2011 11:39
Read more...
 
User Rating: / 5
PoorBest 
TechTip: Understanding Your SQL Output Options PDF Print E-mail
Tips & Techniques - SQL
Written by Kent Milligan   
Friday, 03 December 2010 00:00

Find out how to transform and extract data and learn the options for saving the output.

kent_milligan_117x117Written by Kent Milligan

As the numbers of applications systems and interfaces continues to grow, many IBM i developers face the challenge of getting their DB2 for i data into the right format to meet the requirements of these new interfaces. The format types range can from XML to comma-separated values (CSV) to fixed-file formats.

 

SQL is a great language to use in these situations.

Last Updated on Tuesday, 30 November 2010 14:57
Read more...
 
User Rating: / 5
PoorBest 
TechTip: Don't Get Stuck on Field Names When Creating File Joins in SQL PDF Print E-mail
Tips & Techniques - SQL
Written by Steven Goetjen   
Friday, 12 June 2009 01:00

Have you been memorizing field names or relying on F4 prompting?

steven_goetjenWritten by Steven Goetjen

When creating file joins using interactive SQL (STRSQL), it's sometimes difficult to remember the field names that you want to join. I typically don't memorize field names and totally rely on the F4 prompting to get the names from the "SELECT fields" line.

Last Updated on Thursday, 11 June 2009 11:49
Read more...
   
User Rating: / 4
PoorBest 
 
User Rating: / 4
PoorBest 
TechTip: Speed Up SQL Procedures with Service Program Support PDF Print E-mail
Tips & Techniques - SQL
Written by Kent Milligan   
Thursday, 07 August 2008 19:00

With a recent V6R1 PTF, SQL stored procedures can now benefit from the improved performance offered by IBM i service program objects.

kent_milligan_117x117.jpgBy Kent Milligan

The usage of SQL stored procedures by IBM i applications and programs continues to rise. For quite awhile, applications have had the ability to leverage the performance benefits offered by IBM i service program objects.

 

With a recent V6R1 PTF, SQL stored procedures can now benefit from the improved performance offered by IBM i service program objects. When an SQL stored procedure is created, DB2 for i generates and creates an ILE C program object to implement the business logic specified by the programmer. For example, when the following procedure is created, it will result in DB2 generating an ILE C program object (*PGM) named ADD_PGM in the QGPL library.  Whenever an application invokes the ADD_PGM, DB2 will transparently call the generated C program object. 

Last Updated on Tuesday, 19 May 2009 10:35
Read more...
   
User Rating: / 10
PoorBest 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 10

WHITE PAPERS

The following White Papers can be found at the MC White Paper Center

 

 


   MC-STORE.COM