MySQL Forums
Forum List  »  PHP

Stored Procedures for Dummies
Posted by: Patrick Allmond
Date: November 24, 2007 10:33AM

Is there a really good post or thread about doing stored procedures in mysql? I've been doing stored procedures in SQL Server for years, but I tried last night for hours to get a simple SP to return a simple single value last night and could not get it to work. I even tried using the mysqli functions. All I got back every time was the number 1 - which appears to be the connection number or something.

The two things I'll need to do on a consistent basis:
- Get a scalar value back i.e. run a query and get back a single number
- Get back an entire resultset

Options: ReplyQuote


Subject
Written By
Posted
Stored Procedures for Dummies
November 24, 2007 10:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.