String sizes and long SQL statements
Standard limitations
Adjust global constants
Where do I find the settings?
// In the GLOBAL CONSTANTS of the library:
gc_MySQL_iStatementMax : INT := 10; // Array size (0..10 = 11 elements)
gc_MySQL_iStatementLength : INT := 100; // Characters per elementExample: Allow larger statements
// Standard (default):
gc_MySQL_iStatementMax := 10; // 11 parts
gc_MySQL_iStatementLength := 100; // 100 characters/part
// Extended for longer statements:
gc_MySQL_iStatementMax := 20; // 21 parts
gc_MySQL_iStatementLength := 200; // 200 characters/part
Long SQL statements
Strategy 1: Split the statement (standard)
Strategy 2: Use intermediate variables
Practical examples
Example 1: INSERT with many columns
Example 2: SELECT with long WHERE clause
Example 3: UPDATE with many fields
Last updated

