Skip to main content
1-Visitor
January 27, 2021
Solved

SQL error

  • January 27, 2021
  • 1 reply
  • 2114 views

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

 

Best answer by BSUN_RO

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

1 reply

16-Pearl
January 27, 2021

Please provide the SQL command you are trying to execute.

BSUN_RO1-VisitorAuthor
1-Visitor
January 27, 2021

SELECT * FROM database.table;