Open topic with navigation

TIBCO ActiveSpaces® - Enterprise Edition 5.0.0

# Running Statements

The Statement interface provides two methods for running the statement. The executeQuery() method is used to run statements, which have been created by using a SELECT command. The executeQuery() method returns a ResultSet object that contains the resulting rows of a query.

The executeUpdate() method is used to run statements that have been created by using a DML command. The executeUpdate() method returns the number of rows that were successfully processed. If the wrong method is used to run a statement, an error is returned. For information about the current DML commands supported, see Modifying Data in a Table.

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.