• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dealing with semi colons

 
Steve Wood
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

How do you deal with semi-colons in JDBC - we put them in our queries and Oracle doesn't seem to like them. I'm concerned that Oracle might not like them, but other databases need them.

Any advice?

Cheers,

Steve
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you using semi-colons. In JDBC you don't need to end statements with them.
 
Steve Wood
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great thanks - I wasn't sure if they were needed for some database JDBC drivers. We are using them at the end of the statement.

Steve
 
This will take every ounce of my mental strength! All for a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!