Open topic with navigation

TIBCO ActiveSpaces® - Enterprise Edition 5.0.0

# Parameter Binding with INSERT Statements

When you use a parameter binding, you use "?" (question mark) instead of actual values in a SQL statement. The "?" parameter must be used in place of a value for that column and not in arbitrary expressions.

The current parameter bindings are used when`executeUpdate()` is invoked for an INSERT statement. Parameter bindings can also be used with multi-row inserts.

Example of parameter binding:

    INSERT INTO mytable (col1, col2) VALUES (?,?),(?,?),(?,?)

Note: The maximum number of parameters on a given INSERT statement is 999.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveSpaces® - Enterprise Edition

Copyright © 2009-2025. Cloud Software Group, Inc. All Rights Reserved.