Click here to Skip to main content
15,923,222 members
Home / Discussions / Database
   

Database

 
AnswerRe: WHERE Clause's Column from a Parameter Pin
pmarfleet31-Oct-07 7:32
pmarfleet31-Oct-07 7:32 
QuestionCount errors and not display any less than a value Pin
solutionsville31-Oct-07 7:00
solutionsville31-Oct-07 7:00 
AnswerRe: Count errors and not display any less than a value Pin
pmarfleet31-Oct-07 7:09
pmarfleet31-Oct-07 7:09 
GeneralRe: Count errors and not display any less than a value Pin
solutionsville31-Oct-07 7:17
solutionsville31-Oct-07 7:17 
GeneralRe: Count errors and not display any less than a value Pin
pmarfleet31-Oct-07 7:28
pmarfleet31-Oct-07 7:28 
AnswerRe: Count errors and not display any less than a value Pin
solutionsville31-Oct-07 7:29
solutionsville31-Oct-07 7:29 
QuestionNested Stored Procedure Pin
lossy31-Oct-07 5:53
lossy31-Oct-07 5:53 
AnswerRe: Nested Stored Procedure Pin
pmarfleet31-Oct-07 7:05
pmarfleet31-Oct-07 7:05 
This should work:

Create PROCEDURE SP2
AS
BEGIN
Declare @argloc varchar(100)
EXEC SP1 'SP2 Data',@argloc OUTPUT
print @argloc
END


You needed to mark @argloc with the OUTPUT keyword in order for this variable to receive the output value from SP1.

Paul Marfleet

GeneralRe: Nested Stored Procedure Pin
lossy31-Oct-07 8:26
lossy31-Oct-07 8:26 
GeneralRe: Nested Stored Procedure Pin
pmarfleet31-Oct-07 8:44
pmarfleet31-Oct-07 8:44 
Questionautomaticaly refresh Pin
muharrem31-Oct-07 5:37
muharrem31-Oct-07 5:37 
AnswerRe: automaticaly refresh Pin
Paul Conrad31-Oct-07 14:10
professionalPaul Conrad31-Oct-07 14:10 
GeneralRe: automaticaly refresh Pin
muharrem1-Nov-07 1:07
muharrem1-Nov-07 1:07 
AnswerRe: automaticaly refresh Pin
ALAQUNAIBI2-Jan-09 21:23
ALAQUNAIBI2-Jan-09 21:23 
GeneralRe: automaticaly refresh Pin
muharrem5-Jan-09 10:12
muharrem5-Jan-09 10:12 
QuestionSQL 2005 connectivity Pin
nicetohaveyou31-Oct-07 2:37
nicetohaveyou31-Oct-07 2:37 
AnswerRe: SQL 2005 connectivity Pin
pmarfleet31-Oct-07 2:46
pmarfleet31-Oct-07 2:46 
AnswerRe: SQL 2005 connectivity Pin
Hesham Amin31-Oct-07 11:15
Hesham Amin31-Oct-07 11:15 
QuestionCreate Table statement Pin
prithaa31-Oct-07 1:45
prithaa31-Oct-07 1:45 
AnswerRe: Create Table statement Pin
soni uma31-Oct-07 2:04
soni uma31-Oct-07 2:04 
AnswerRe: Create Table statement Pin
neeraj_indianic31-Oct-07 2:09
neeraj_indianic31-Oct-07 2:09 
Questiondatetime problem Pin
niki_nilu31-Oct-07 0:38
niki_nilu31-Oct-07 0:38 
AnswerRe: datetime problem Pin
soni uma31-Oct-07 0:44
soni uma31-Oct-07 0:44 
GeneralRe: datetime problem Pin
niki_nilu31-Oct-07 1:11
niki_nilu31-Oct-07 1:11 
GeneralRe: datetime problem Pin
soni uma31-Oct-07 1:15
soni uma31-Oct-07 1:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.