Archives

Podcast: What's New in DB2 on i?

What's the latest on DB2 for i? What does the future of our integrated database hold? Skip Marchesani from System i Developer (the folks who bring you RPG DB2 Summit) spoke with Mike Cain of IBM regarding the future of DB2 on i. I think it's safe to say ...

Topics:
SQL
Database (DB2 for i
General)

Updated IFSDIR UDTF Provides Create Date

... been using your IFSDIR tool to read IFS directories from SQL . It works nicely, letting me query different attributes and so forth. ...

Topics:
SQL
IFS (Integrated File System)
Database (DB2 for i
General)
Application Development

Writing Overloaded SQL UDFs in RPG

December 09, 2009

... (UDF) is a routine that can be called from within an SQL statement, very... in SQL itself and in external languages such as RPG. External UDFs in RPG are ...

Topics:
SQL
RPG
ILE (Integrated Language Environment)
Database (DB2 for i
General)
Application Development

From the Forums: Breaking SQL Queries into Pages

December 09, 2009

... I/O (using the READ and READP opcodes in RPG) as well as SQL , using... SQL techniques posted to the various online forums that help you solve this ...

Topics:
Web Development
SQL
Application Development

Using SQL’s Powerful CASE Statement

. SQL offers a similar method to RPG’s SELECT statement for executing code ... and END statements, which can be used to simplify your SQL work. The syntax...] [...]] [ELSE expressionN] END The CASE statement adds a powerful tool to your SQL arsenal... values, and help create totals in a SQL statement if you ...

Topics:
SQL
Database (DB2 for i
General)

UDTFs and Subfiles Make a Great Pair

June 11, 2009

... a great pair. What's a UDTF? A UDTF is a type of SQL ... typically list a column name. When SQL sees the UDF, it calls the routine and uses the returned value in place ...

Topics:
SQL
RPG
Application Development

SQL Server JDBC Driver Tip

June 11, 2009

... an open-source (free) JDBC driver for Microsoft SQL Server that performs better than the one from...-ready JDBC driver for SQL Server and Sybase" and states that it supports the following databases: ...

Topics:
SQL
RPG
Java
Database (DB2 for i
General)
Application Development

Easy400 Improves Support for Uploads

(photo_name)); photo_fo = SQFRD; exec SQL set option commit=*none,naming=*sys; exec sql Select count(*) Into :exists From EmpPhot where empno=:empno; if sqlstt= if exists 0; exec sql update EmpPhot set Photo=:Photo where empno=:empno; else; exec sql ...

Topics:
Web Development
SQL
RPG
Data Access & File Transfer
Application Development

JDBC from RPG with Unicode Support

, Microsoft SQL Server, Oracle) from an RPG program. By interfacing RPG with Java, I can ... JDBC_prepStmtC JDBC_prepStmt Prepare an SQL statement from a character string. JDBC_callStmtC JDBC_callStmt Prepare an SQL statement that calls a stored procedure from... from RPG Handle Null ...

Topics:
SQL
RPG
Database (DB2 for i
General)
Data Access & File Transfer
Application Development

MySQL and the DB2 Storage Engine for IBM i

of the SQL statements from the actual storage/retrieval of the data. By having ... engine, as shown in Figure 2 . Basically, MySQL has an SQL tier that performs the actual processing of the SQL statement. It parses the statement, validates the syntax, builds a ...

Topics:
SQL
Database (DB2 for i
General)
Application Development

ProVIP Sponsors

ProVIP Sponsors