Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 15th, 2006, 04:10 PM
Friend of Wrox
Join Date: Aug 2004
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"

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 01:49 PM
function returns Incorrect syntax keyvanjan ASP.NET 2.0 Professional 1 July 29th, 2007 10:36 AM
using union all syntax with sum function fdtoo SQL Server 2000 3 July 27th, 2006 02:31 PM
Excel Function for Checking Email Syntax atr000 Excel VBA 0 July 18th, 2006 12:13 PM
MySQL syntax in query Tachyon Beginning PHP 1 June 26th, 2004 08:42 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.