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 14th, 2012, 06:01 PM
Registered User
 
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default STORED PROCEEDURE

1. HOW DO YOU WRITE A STORED PROCEEDURE TO LIST NAMES BEGINNING WITH PARTICULAR STRINGS, SUPPLIED BY THE CALLER OF THE PROCEEDURE

2. HOW DO YOU WRITE A STORED PROCEEDURE TO APPLY SALARY INCREASES TO EMPLOYEES IN A GIVEN DEPT AND GRADE. THE CALLER OF THE PROCEEDURE TO SPECIFY THE PERCENTAGE INCREASE AND DEPT, E.G '7' FOR A 7% INCREASE. THE PROCEEDURE SHOULD UPDATE APPROPRIATE ROWS IN DATABASE AND LIST DETAILS OF EMPLOYEES WITH OLD AND NEW SALARIES.

LOADS OF THANKS TO ANYONE WHO WILL HELP ME OUT WITH THESE QUESTIONS

Last edited by VEENEE; May 14th, 2012 at 06:25 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
calling a stored proceedure from another one debbiecoates SQL Server 2000 7 October 17th, 2007 11:35 AM
Calling an insert stored proc from a select stored dzitam SQL Language 10 April 2nd, 2007 12:39 PM
please help me with this stored procedure bebeko SQL Server 2000 1 June 10th, 2005 12:09 PM
Stored Procedure help flyin SQL Server 2000 4 August 3rd, 2004 07:37 AM
Stored Proceedure Returning A Recordset rodmcleay C# 3 July 5th, 2004 09:53 PM





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