jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes what is better Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "what is better" Watch "what is better" New topic
Author

what is better

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
is prepared statement or callable statement better?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63344
    
  70

For what?

That's like asking: what's better? a spoon or a fork?

And please be more descriptive in your topic titles.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Agador Paloi
Ranch Hand

Joined: Jan 24, 2006
Posts: 118
Yes.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32628
    
215

Samanthi perera wrote:is prepared statement or callable statement better?

They don't do the same thing. If you have a stored proecedure, you'd use a callable statement. Otherwise you wouldn't.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44506
    
  34
It would be better to read this than to ask what is better.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is better
 
jQuery in Action, 3rd edition