GeekInterview.com
Series: Subject: Topic:
Question: 357 of 378

Difference between Execute, Execute Query, Execute Update and Execute Batch.

Asked by: Interview Candidate | Asked on: Jan 23rd, 2006
Showing Answers 1 - 6 of 6 Answers
Prasad Meduri

Answered On : Feb 16th, 2006

Exceute is issued on Command object.It can execute any DDL or DML operation ( query is written as in the process of preparation of command)ExecuteQuery is normally used to exeute a query and fetch the recordset based on that query.( 100% its used with select query)ExecuteUpdate is used for any DML query operations( Insert,Update and Delete)Try this.

  
Login to rate this answer.
divya

Answered On : Mar 2nd, 2006

HI,I am getting Automation error System could not find the specified file  on using Executeupdate for updating oracle.Divya

  
Login to rate this answer.
venkat

Answered On : Mar 6th, 2006

1.who implement home and remote interfaces?2.why do we need home and rermote interfaces in Ejb?3.can we connect bean without home and remote interfaces?4.when we use sessionbeans and when we use Entitybeans?5.Explain strutsflow?6.If I used struts,jsp,servlets and ejb in some project.please tell the flow of this one? 

  
Login to rate this answer.
Mohan Brundavanam

Answered On : Jul 7th, 2006

Execute : It returns boolean valueExecuteQuery:it returns resultsetExecuteUpdate :It returns integer

  
Login to rate this answer.
taraldesai

Answered On : Mar 4th, 2009

View all answers by taraldesai

Never seen in oracle

  
Login to rate this answer.
do

Answered On : Aug 1st, 2011

Does it return only integer?

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.