|
Programming -
SQL
|
|
Written by Joe Pluta
|
|
Wednesday, 01 July 2009 00:00 |
|
SQL excels at set-at-a-time processing, and what better application than archiving your data?
Written by Joe Pluta
No matter how much disk you have, you fill it. It's a corollary to Parkinson's Law, which posits that work expands to fill the time allotted. It's the same with databases; despite the ever-increasing amount of disk available (who could have imagined a 2TB disk for the home computer?), you will always run out, so at some point you will have to reduce the amount of data in your database. As it turns out, though, SQL can provide you with significant help.
|
|
Last Updated on Tuesday, 30 June 2009 09:22 |
|
Read more...
|
|
Programming -
SQL
|
|
Written by Thomas Snyder
|
|
Wednesday, 03 June 2009 00:00 |
|
You don't need to write a program to run common SQL statements.
Written by Tom Snyder
Do you have common SQL statements that you run on a regular basis but haven't found the time to put into a program? Do you try to remember the SQL statement that you ran last time, or do you keep notes to manually recall those statements interactively every time you need them?
|
|
Last Updated on Tuesday, 02 June 2009 11:46 |
|
Read more...
|
|
Programming -
SQL
|
|
Written by Kevin Forsythe
|
|
Saturday, 21 March 2009 18:00 |
|
Whether your applications are completely RPG/SQL-based or include processes written in languages such as Java or ASP.NET, dynamic searches are likely a key component. By Kevin Forsythe Are you using SQL within your applications? Whether you're developing applications in RPG IV, Java, .NET, or other languages, performing a variety of searches is often necessary. SQL is commonly used to perform such searches. It provides great flexibility and allows decisions about sorting and selecting to be determined at run time. |
|
Last Updated on Sunday, 22 March 2009 11:03 |
|
Register to read more...
|
|
Programming -
SQL
|
|
Written by Joe Pluta
|
|
Tuesday, 24 February 2009 18:00 |
|
SQL is a great tool when used properly, and this article gives you a simple, practical example to get you started. By Joe Pluta Welcome to the wonderful world of practical SQL for RPG programmers. Over the coming months, I hope to bring you a whole host of practical techniques that you can use to become more productive using SQL in your daily programming efforts. I know it may seem odd to some to hear me giving advice on SQL, since over the years I've been very steadfast in my opinion that SQL should not replace native I/O for business logic. But really, there is no conflict here; I have always believed in the best tool for the job, and there are times when SQL is definitely the best tool. |
|
Last Updated on Tuesday, 24 February 2009 06:03 |
|
Register to read more...
|
|
Programming -
SQL
|
|
Written by Kevin Forsythe
|
|
Tuesday, 13 January 2009 18:00 |
|
Procedures and functions, whether written in SQL or in traditional application development languages, provide powerful tools for accessing your database. By Kevin Forsythe One of the most difficult tasks when you're designing an application is deciding how to code each portion of the application. We can develop applications in CL, RPGLE, SQL, and a host of other languages. The capabilities of these languages overlap one another to a certain degree, so the decision of which language to use is not always clear-cut. |
|
Register to read more...
|
|
Programming -
SQL
|
|
Written by Mike Faust
|
|
Tuesday, 11 November 2008 18:00 |
|
Use an SQL user-defined table function (UDTF) to access messages in a message file. By Mike Faust If you've ever needed to retrieve information from a message file, you're probably already aware of the Retrieve Message (QMHRTVM) API, which allows you to retrieve message descriptions for messages in a specified message file. But is that enough? |
|
Last Updated on Tuesday, 11 November 2008 07:59 |
|
Register to read more...
|
|
Programming -
SQL
|
|
Written by Mike Cain
|
|
Tuesday, 21 October 2008 18:00 |
|
Getting the most benefit out DB2 for i requires keeping the concept of "set at time" in mind and making use of all the latest features and functions. By Mike Cain In Dan Cruikshank's August 2008 article "Working with Data Sets," Dan illuminated the power of SQL "set at a time" processing, and he used some of the new DB2 for i 6.1 OLAP functions to do it. In this article, I'll expand on this concept and demonstrate some additional uses for OLAP functions, as well as reiterate the reasons that SQL can be so powerful for the data-centric programmer. We'll also take a look at some of the performance considerations for more-complex SQL requests. |
|
Register to read more...
|
|
Programming -
SQL
|
|
Written by Joe Pluta
|
|
Tuesday, 21 October 2008 18:00 |
|
Why are the examples for SQL always so lame? It's time to see what you can do with SQL on a real-world database. By Joe Pluta Seriously, how often do you change the price in an entire price file by 15 percent? I don't know of a single situation in my career where that has happened. Yet that's the same lame example we see in every "SQL for business" book. Yes, SQL is great for handling sets of data, but more often than not, in the real world you have to do some analysis, some aggregation, some extraction, and then finally some manipulation. The good news is that SQL gives you lots of tools to do just that. The better news is that this article will show you some practical examples on how to use those tools. |
|
Last Updated on Wednesday, 05 November 2008 02:45 |
|
Register to read more...
|
|
|