Skip to main content
1-Visitor
Jan 27, 2021 12:31 PM UTC
Solved

SQL error

When I try to run an SQL command I get this error: "java.sql.SQLException: Can not issue executeUpdate() or executeLargeUpdate() for SELECTs". Do you know why? Thankyou

 

BSUN_ROAnswer
1-Visitor
Jan 28, 2021 7:23 AM UTC

I found it, I was running an sql command not query. Thankyou.

3 replies

16-Pearl
Jan 27, 2021 1:21 PM UTC

Please provide the SQL command you are trying to execute.

Translate
BSUN_RO1-VisitorAuthor
1-Visitor
Jan 27, 2021 2:28 PM UTC

SELECT * FROM database.table;

Translate