Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
blessing
Starting Member
2 Posts |
Posted - 2011-03-02 : 09:49:10
|
| CREATE procedure prcDisplaypositionStatatus @PCode char (4)AS BEGINDECLARE @Description char (30)DECLARE @budget intDECLARE @CurrentStrength intDECLARE @ReturnValue intEXEC @RETURNvALUE = PrcGetpositionDetail @pcode/@Description OUTPUT,@Budget OUTPUT,@CurrentStength OUTPUTIF (@RETURNvALUE = 0)BEGIN PRINT 'THE Status for the Position: '+ @Description PRINT 'Budgeted Strength + CONVERT( char(30), @budget) PRINT 'Current Strength + Convert (char(30), @CurrentStrength) Select cRequisitionCode,VRegion,siNoOfVacancy FROM Requisition WHERE cPositionCode=@PcodeENDELSE PRINT 'No records for the given position code'ENDplease assist me with this because my is tyde to it..... |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|