Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 15th, 2006, 05:10 PM
Friend of Wrox
 
Join Date: Aug 2004
Location: Orange County, CA, USA.
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default function syntax on Mysql

I am having problems creating a simple function with the proper syntax.

Can someone post a full function where you pass a parameter to the function and get something returned. Say for example param_in Char(12), param_out char(14). With the function simply adding the characters "mr" to in Param_in. thus I would expect to see this:


SELECT Test_Function('jones');

would return "mrjones"

Reply With Quote
Reply


Thread Tools
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 On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch3 Appendix MySQL Syntax Error amin7b5 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 April 16th, 2008 02:49 PM
function returns Incorrect syntax keyvanjan ASP.NET 2.0 Professional 1 July 29th, 2007 11:36 AM
using union all syntax with sum function fdtoo SQL Server 2000 3 July 27th, 2006 03:31 PM
Excel Function for Checking Email Syntax atr000 Excel VBA 0 July 18th, 2006 01:13 PM
MySQL syntax in query Tachyon Beginning PHP 1 June 26th, 2004 09:42 PM



All times are GMT -4. The time now is 11:00 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.