Bluehost.com Web Hosting $6.95

Multiple Queries.

This is a discussion on Multiple Queries. within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Is it possible to perform multiple queries in one command/execution?...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-01-2006
TheSeer
 
Posts: n/a
Default Multiple Queries.

Is it possible to perform multiple queries in one command/execution?

Reply With Quote
  #2 (permalink)  
Old 02-01-2006
lark
 
Posts: n/a
Default Re: Multiple Queries.

On Tue, 31 Jan 2006 22:20:02 -0800, TheSeer wrote:

> Is it possible to perform multiple queries in one command/execution?


It depends! If you're on mysql > 5.x then yes it is. in newer version of
mysql you can write a stored procedure and have as many queries as you'd
like in that procedure. you then return the result set in an array like
you'd normally do.

other databases such as m$sql or oracle provide this as well but mysql
version < 5.x do not.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0