Skip to main content
1-Visitor
January 27, 2021
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
January 28, 2021

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

3 replies

16-Pearl
January 27, 2021

Please provide the SQL command you are trying to execute.

Translate
BSUN_RO1-VisitorAuthor
1-Visitor
January 27, 2021

SELECT * FROM database.table;

Translate