Re: Question about mysql procedures

2008-04-11 Thread Joshua D. Drake
On Fri, 11 Apr 2008 14:52:30 -0700
"Rob Wultsch" <[EMAIL PROTECTED]> wrote:

> On Fri, Apr 11, 2008 at 2:15 PM, Joshua D. Drake
> <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> >  Can MySQL functions/stored procedures access database data?
> >
> >  Joshua D. Drake
> 
> Yes. Is there something in particular you are looking to do?
> 

Just gathering information :) Thanks!

Joshua D. Drake

> 


-- 
The PostgreSQL Company since 1997: http://www.commandprompt.com/ 
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Question about mysql procedures

2008-04-11 Thread Paul DuBois

At 2:15 PM -0700 4/11/08, Joshua D. Drake wrote:

Hello,

Can MySQL functions/stored procedures access database data?


Yes, with some limitations.  You will want to read this
section to see whether what you want to do is restricted:

http://dev.mysql.com/doc/refman/5.0/en/routine-restrictions.html

For example, in a stored function, you cannot modify a table
if the table is referenced by the statement that invokes the
function.

--
Paul DuBois, MySQL Documentation Team
Madison, Wisconsin, USA
MySQL AB, www.mysql.com

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Question about mysql procedures

2008-04-11 Thread Rob Wultsch
On Fri, Apr 11, 2008 at 2:15 PM, Joshua D. Drake <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  Can MySQL functions/stored procedures access database data?
>
>  Joshua D. Drake

Yes. Is there something in particular you are looking to do?


-- 
Rob Wultsch
[EMAIL PROTECTED]
wultsch (aim)

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Question about mysql procedures

2008-04-11 Thread Joshua D. Drake
Hello,

Can MySQL functions/stored procedures access database data?

Joshua D. Drake

-- 
The PostgreSQL Company since 1997: http://www.commandprompt.com/ 
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]