Forums Register Login

create table.. which method?

+Pie Number of slices to send: Send
Hi,
I wonder is it fine to use any of the two methods
-Statement : execute
-Statemetn : executeUpdate
when one is to pass a create table .. ddl statement to a database?
tormod
+Pie Number of slices to send: Send
Hi
Both will serve the purpose i think.But generally,DDL statements like create,alter,drop are used with execute() and DML statements like insert,update and etc are used with exeuteUpdate() method.
Listen. That's my theme music. That's how I know I'm a super hero. That, and this tiny ad told me:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 927 times.
Similar Threads
Creating New SQL DB
Problem with Hibernate Mapping
Derby Bulk Insert
multiple primary key exception
Help a beginner create a database! ;-)
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 20:48:11.