Home > AS/400 Featured Topic
EMAIL THIS
 Featured Topic:  20 SQL tips
Last Updated: Jan 19, 2005 
With SQL playing a bigger role in the database, you can't afford to ignore it. Check out these tips for ways to get the most out of it. >> ITKnowledge Exchange: Using keyword IN in Dynamic SQL WHERE clause
>> Do you have a SQL tip? Submit it here
ADVICE:
>> SQL vs. DDS -- The good, the bad and the downright ugly
TIP :What does DDL offer over DDS and vice versa? Let's take a look.
>> Use SQL views to transfer packed data using FTP
TIP :Here's an easy way to transfer packed data from an iSeries to an ASCII system.
>> Use SQL to SELECT data directly to a CSV file
TIP :This command will direct the results of any valid SQL SELECT statement directly into a CSV file in the IFS .
>> Run SQL statements from the command line
TIP :Here's a quick way to evaluate information, such as mathematical formulas or file content, etc.
>> SQL recursive REPLACE command
TIP :Here's a SQL REPLACE() function that works like TRIM or SUBSTRING.
>> Quickly find SQL error message descriptions
TIP :Here's an easy method to learn details about those pesky and cryptic SQL error message codes.
>> Use SQL to delete duplicate records
TIP :This short command will delete duplicate keys in SQL.
>> Find the maximum record count using SQL
TIP :Retrieve the maximum count of the record using SQL.
>> SQL: One SELECT for one or several row, same WHERE.
TIP :select several rows or a row from a table.
>> Use the SQL Rename command to make everyone happy
TIP :Working with the SQL Rename command.
>> How to update iSeries databases using JDBC, SQL
TIP :The techniques detailed here will help you develop more efficient Java database applications.
>> Using "exception join" in SQL
TIP :SQL's "exception join" syntax is rarely understood and even more rarely used.
>> Yet another SQL program
TIP :Execute SQL via a standard command interface.
>> Why do I keep getting SQL error SQL0204?
ASK THE EXPERTS :I have written a user SQL function in which I make a call to a C program. When I try to use it, I obtain an SQL error ...
>> SQL has stopped selecting records
ASK THE EXPERTS :We have an application that uses SQL to select the records for a report. The application has been working with over 50 ...
>> Possible to improve SQL query speed?
ASK THE EXPERTS :SQL query is faster at second run because files are already loaded into memory and thus there is no I/O.

How ...

>> Advantages of SQL on the iSeries
ASK THE EXPERTS :How fast is SQL on the iSeries, and what are the advantages and disadvantages of using SQL on the iSeries?
>> Interactive SQL statements
ASK THE EXPERTS :I have written a front-end program to run interactive SQL statements. I am using a technique that executes the SQL statement ...
>> Creating a date field using SQL
ASK THE EXPERTS : I've created a table using SQL with a date field. I've used STRPDM to view the data in the date field and found ...
>> Create a table using SQL
ASK THE EXPERTS :I am trying to create a table using SQL. I would like the dates to be of the *USA (mm/dd/yyyy) format. All of our files have ...

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
iSeries SQL commands and statements
Enhancing RPG with external SQL stored procedures
Tracking data changes on IBM i with triggers
Introduction to SQLRPGLE on IBM i: Making a report
Making the most of RPG data handling on IBM i
When is the YES option for 'reuse deleted files' function the best choice?
Monitoring members 'stuck' within a physical file on an EDI system
Creating a host variable of the 'where in' statement in SQL
SQL server error message -321
Choose which column names are returned via ODBC when working with DB2 files
Convert a numeric physical file to a character in SQL without leading zeros
iSeries SQL commands and statements Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

> iSeries backup and recovery
> Understanding stored procedures
> System i user groups: Find one nearest you
> Top 10 System i white papers
> Looking at LPAR
View full list of Featured Topics

HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts