Skip to main content
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
Jan 28, 2021 7:23 AM UTC

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

3 replies

Jan 27, 2021 1:21 PM UTC

Please provide the SQL command you are trying to execute.

BSUN_ROAuthor
Jan 27, 2021 2:28 PM UTC

SELECT * FROM database.table;