With each new version of DB2 comes more options and features for SQL. More tables, more columns, more functions,...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
more, more, more! This makes it more and more difficult for DB2 to scan and parse SQL statements - well, at least large SQL statements. So, you might just have written a SQL statement that is too large and complex for DB2 to process. In that case, you must break it apart.
However, first make sure that you have coded the statement properly. Is the SQL statement terminated (with a ";" unless you have changed the termination character)? Sometimes if you forget this DB2 runs things together and you can get a -101 (or another SQL error code).
Dig Deeper on IBM DB2 management
Related Q&A from Craig S. Mullins
Our expert suggests that the best way to pass the SAP BW exam is to have hands-on job experience. But that's not all he has to say about ...continue reading
To export data from a DB2 table to a flat file, you need to run an export specifying the proper file format. The export utility exports data from a ...continue reading
Craig Mullins recommends two specific resources for learning how to create and support Binary Large Objects (BLOB) in DB2.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.