Click here to Skip to main content
15,908,020 members
Home / Discussions / Database
   

Database

 
QuestionWHERE Clause's Column from a Parameter [modified] Pin
Brian C Hart31-Oct-07 7:13
professionalBrian C Hart31-Oct-07 7:13 
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 
Hi!
I have the following two stored proceures:

SP1:
Create PROCEDURE SP1
	@arg1 varchar(100),
	@arg2 varchar(100) out
AS
BEGIN
SET @arg2=arg1+': SP1 Data'
return
END


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


On calling SP2 i want result like:
SP2 Data: SP1 Data

But it returns:
SP2 Data


How can can i fix this problem?
Thanks!
AnswerRe: Nested Stored Procedure Pin
pmarfleet31-Oct-07 7:05
pmarfleet31-Oct-07 7:05 
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 

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.