Search

>> Use the search below for Feature Articles and News.

>> To search Product and Company listings or Forums, use the buttons at right.

Match whole words only
Sections
Categories
with all of the words
with the exact phrase
with at least one of the words
without the words
Title
Author
Days  Today
 Past 7 days
 Past 30 days
 Past 90 days
 Past year
 Full archive
Date range From
to

SQL

Filter Order Display
 
Written by:Sam Lennon
( Programming / SQL )
Not familiar with SQL CREATE TABLE syntax? No problem! There's a really easy way to create SQL DDL (Data Definition Language) statements. Written by Sam Lennon IBM i developers are becoming more comfortable exploiting the power of SQL to retrieve a
02-01-12
 
Written by:Thomas Snyder
( Programming / SQL )
Create useful date-centric service programs with embedded SQL. Written by Tom Snyder Welcome to 2012! All of our year-end processes are complete, and it's the beginning of a new year with a clean slate. 2011 was a very clean year date-wise because
01-18-12
 
( Programming / SQL )
Avoid headaches and wasted time by learning the major differences between DB2 for i and T-SQL dialects. Written by Michael Sansoterra It's apparent by emails I've received that some SQL Server developers are having an opportunity to delve into the
01-11-12
 
Written by:Joe Pluta
( Programming / SQL )
With a little creativity, SQL allows you to add a form of overloading to RPG that can really extend your toolkit. Written by Joe Pluta In the previous article in this series, I created a simple user-defined function (UDF) that acted as an SQL inter
12-07-11
 
Written by:Joe Pluta
( Programming / SQL )
In this installment of our continuing series on using SQL in real business applications, we introduce the concept of invoking service programs from within SQL. Written by Joe Pluta We continue to provide you with examples of integrating SQL with tr
11-02-11
 
Written by:Joe Pluta
( Programming / SQL )
JOINing tables is one of the fundamental tasks in SQL, and this article explains three basic syntactical approaches. Written by Joe Pluta SQL is the tool of choice for querying relational data, and the whole idea behind relational data is that the
10-05-11
 
Written by:Joe Pluta
( Programming / SQL )
This second article on combining the strengths of RPG and SQL shows how to turn a stored procedure into a user-defined function (UDF). Written by Joe Pluta In my previous article, I showed you how to create a stored procedure that will invoke an RP
05-04-11
 
Written by:Joe Pluta
( Programming / SQL )
This first article on combining the strengths of RPG and SQL focuses on defining and testing stored procedures. Written by Joe Pluta SQL and RPG are powerful and complementary tools. SQL does things well that are difficult or nearly impossible in R
04-06-11
 
Written by:Thomas Snyder
( Programming / SQL )
Any OS, any programming language, any database—SQuirreL is a perfect fit for almost any situation involving SQL! Written by Tom Snyder In a previous article, I showed you how to install the SQuirreL SQL client to run interactive SQL on your IBM i
03-16-11
 
Written by:Thomas Snyder
( Programming / SQL )
Install SQuirreL SQL client to run interactive SQL on your IBM i. Written by Tom Snyder As you start using embedded SQL more frequently within your RPG code, you'll soon find that your SQL statements are becoming larger and larger and the interacti
02-16-11
 
Written by:Joe Pluta
( Programming / SQL )
This article compares SQLCOD and SQLSTT and shows you how to avoid one of the primary gotchas you face when using SQLSTT. Written by Joe Pluta Embedded SQL programming is one of the most productive additions ever made to the IBM i development envir
11-03-10
 
Written by:Thomas Snyder
( Programming / SQL )
Let's evaluate the reasons you might want to take this approach. Written by Tom Snyder You've heard about embedded SQL and maybe you've tried embedded SQL, but you may be asking yourself, "Why would I use embedded SQL?" That's the course that I hav
10-20-10
 
Written by:Thomas Snyder
( Programming / SQL )
After reading this article, you'll never worry about date formats again. Written by Tom Snyder My recent articles on exporting data have generated a number of questions on formatting dates with SQL. So let's explore SQL dates by looking at how to c
06-16-10
 
( Programming / SQL )
With 7.1, you can create XML columns, insert XML values, publish XML values, and so much more. Written by Jon Triebenbach XML has become the standard for document and data interchange on the Internet and is a key technology in the support for service
04-14-10
 
Written by:Thomas Snyder
( Programming / SQL )
Export physical files directly to the IFS with headers. Written by Tom Snyder In my previous articles about SQL on the IBM i, I have used common commands that are available directly from the command line. In this article, I will use the db2 command i
03-17-10
 
Written by:Thomas Snyder
( Programming / SQL )
Create CSV files from multiple physical files. Written by Tom Snyder In a previous article, I discussed how to "Delimit Data on the IBM i the Easy Way." In this article, we'll take it a step further and discuss alternate methods of exporting data fro
01-20-10
 
Written by:Kent Milligan
( Programming / SQL )
SQL Cancel support has been greatly enhanced and simplified. Written by Kent Milligan Occasionally, a programmer or user issues an SQL-based report that runs much longer than anticipated. The long-running query may be caused by the user underestimati
12-16-09
 
Written by:Joe Pluta
( Programming / SQL )
One of the nicest features of DB2 on the IBM i is the integrated journaling. This article shows you how to use SQL and journaling together. Written by Joe Pluta Journaling has been an integral part of the DB2 database since long before it was calle
12-02-09
 
Written by:Joe Pluta
( Programming / SQL )
A word that sometimes strikes fear into the programmers, "recursion" is sometimes the only tool for the job, and this article shows you how to recurse in SQL. Written by Joe Pluta Today's article is very simple and straightforward. I'm going to prese
10-21-09
 
Written by:Joe Pluta
( Programming / SQL )
One of the most common issues in SQL is dealing with dates. This article will introduce you to the joys of dates, both legacy and date data type. Written by Joe Pluta With the introduction of the date data type (and its siblings, the time and timesta
09-02-09
 
Written by:Joe Pluta
( Programming / SQL )
It's one thing to create a great SQL query; it's another thing entirely to let your users do it dynamically. Written by Joe Pluta SQL is not a difficult syntax; it was designed to be relatively easy to use even for non-programmers, and it lives up to
08-05-09
 
Written by:Kevin Forsythe
( Programming / SQL )
Learn how to use this GUI tool to improve your SQL statements. Written by Kevin Forsythe Writing SQL statements that function correctly and deliver the desired results is only half the battle. We also need to manage the performance of those SQL state
08-05-09
 
Written by:Joe Pluta
( Programming / SQL )
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 all
07-01-09
 
Written by:Thomas Snyder
( Programming / SQL )
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 yo
06-03-09
 
Written by:Kevin Forsythe
( Programming / SQL )
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
03-22-09
 
Written by:Joe Pluta
( Programming / SQL )
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 wh
02-25-09
 
Written by:Kevin Forsythe
( Programming / SQL )
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
01-14-09
 
Written by:Mike Faust
( Programming / SQL )
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, whi
11-12-08
 
Written by:Mike Cain
( Programming / SQL )
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
10-22-08
 
Written by:Joe Pluta
( Programming / SQL )
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 si
10-22-08
 
Written by:Kevin Forsythe
( Programming / SQL )
Inner joins, outer joins, exception joins, cross joins... Do you know how to take full advantage of all the types of joins? By Kevin Forsythe Editor's Note: In this excerpt from SQL for eServer i5 and iSeries, author Kevin Forsythe explains
10-08-08
 
Written by:
( Programming / SQL )
There's no reason not to forge ahead with new techniques such as SQL as long as you have the right tools in place. By Ray Bernardi Structured Query Language (SQL) is a keyword-oriented language, which makes it easy to learn and use, and it&#
09-10-08
 
Written by:
( Programming / SQL )
Let's look back at the various ways we processed data sets using RPG and compare that to the new V6R1 SQL grouping sets capability. By Daniel Cruikshank Like many midrangers, I began my career as a computer operator, loading card decks into
08-06-08
 
Written by:Joe Pluta
( Programming / SQL )
It's one thing to access SQL Server data from the System i, but it's another thing to access System i data from SQL Server. By Joe Pluta Heterogeneous data is one of the hallmarks of today's IT. Whether due to disparities in disk price or processing
07-23-08
 
Written by:Skip Marchesani
( Programming / SQL )
Format and name derived columns when you use SQL to do ad hoc analysis of information in an SQL table. By Skip Marchesani I frequently use Interactive SQL or Run SQL Scripts in Navigator to do ad hoc analysis of information in an SQL table, whic
05-07-08
 
Written by:Adam Glauser
( Programming / SQL )
Learn how to use host variables to get the most from your embedded SQL statements. by Adam Glauser In its simplest form, embedded SQL in RPGLE is not much different from the type of SQL you can run using the RUNSQLSTM command. You can use DDL to
03-05-08
 
Written by:Scott Forstie
( Programming / SQL )
Take the hassle out of managing procedures and functions with some easy-to-use tools. By Scott Forstie Procedures and functions work as desired only when they're kept in sync with the QSYS2/SYSROUTINE and QSYS2/SYSPARMS catalogs. For some us
02-06-08
 
Written by:Skip Marchesani
( Programming / SQL )
Execute a script that contains a single SQL statement, multiple SQL statements, or even CL commands! By Skip Marchesani Several years ago, I began using what is now called the Run SQL Scripts function (also known as the SQL Script Center or Scri
01-02-08
 
Written by:Skip Marchesani
( Programming / SQL )
Are you aware that a single SQL statement can process two or more tables without the tables being joined together? By Skip Marchesani Subselect is the capability to embed up to 256 SQL SELECT statements inside a SELECT, UPDATE, INSERT, DELETE, o
11-07-07
 
Written by:Skip Marchesani
( Programming / SQL )
Are you aware of everything you can do with triggers in i5/OS or OS/400? One of IBM's better-kept secrets in V5R1 is the significant new trigger function provided in the OS/400 release. This ranges from SQL triggers, which provide a high degree of fl
09-06-07
 
Written by:Paul Tuohy
( Programming / SQL )
Do you know how to handle RPG's key constraints, foreign key constraints, and check constraints?
08-01-07
 
Written by:Joe Pluta
( Programming / SQL )
I've never been a fan of little black boxes in programming, but more appear every day, and I really don't like them.
02-23-07
 
( Programming / SQL )
The introduction of SQL Server 2005 has brought some exciting new features for developers. For instance, the ability to integrate heterogeneous systems with SQL Server in real time keeps getting easier. Part I of this series covered the power and
09-27-06
 
( Programming / SQL )
You can speed up your queries and SQL statements by understanding the workings of the iSeries Query Optimizer.
09-13-06
 
Written by:Mike Faust
( Programming / SQL )
New functions and functionality show IBM's continued commitment to the evolution of SQL on the iSeries.
05-10-06
 
( Programming / SQL )
Many iSeries shops host additional database servers, including Oracle, SQL Server, and MySQL. A common solution to integrating heterogeneous data consists of nightly data transfers and batch processing routines. However, it's often necessary to have
04-05-04
 
( Programming / SQL )
This utility allows you to retrieve unrelated bits of data from multiple files.
11-10-03
 
( Programming / SQL )
Execute dynamic SQL statements anywhere.
10-06-03
 
Written by:Kevin Forsythe
( Programming / SQL )
You may know how to embed SQL within RPG, but can you embed RPG within SQL?
08-18-03
 
( Programming / SQL )
Use distributed transactions to ensure data integrity between the iSeries and SQL Server.
06-09-03
1 | 2 | Next
1 - 50 of 85 Results

   MC-STORE.COM