Skip to main content
1-Visitor
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

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

3 replies

16-Pearl

Please provide the SQL command you are trying to execute.

Translate
BSUN_RO1-VisitorAuthor
1-Visitor

SELECT * FROM database.table;

Translate