faqts : Computers : Programming : Languages : PHP : Database Backed Sites : Oracle

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 6 people (50%) answered Yes
Recently 2 of 5 people (40%) answered Yes

Entry

Can I did two queries (in this case, it will be an updates in the database) in the same OCIParse?

Jun 4th, 2004 15:26
Eyzen Medina, Gustavo Oliveira,


I think you can, just use a Begin and End; statement in the string 
querry. For example:
BEGIN Select * from one table; Update OtherTable SET field=1; END;
Try using this, and let me know the results.
Eyzen