Click here to Skip to main content
15,920,956 members
Home / Discussions / Database
   

Database

 
AnswerRe: can we create stored procedures in MS Access database Pin
mysorian15-Jul-06 4:43
professionalmysorian15-Jul-06 4:43 
AnswerRe: can we create stored procedures in MS Access database Pin
ra ra ra ra17-Jul-06 22:28
ra ra ra ra17-Jul-06 22:28 
Questionstored procedure Output parameter value is Null Pin
For_IT14-Jul-06 12:26
For_IT14-Jul-06 12:26 
AnswerRe: stored procedure Output parameter value is Null Pin
nguyenvhn14-Jul-06 16:24
nguyenvhn14-Jul-06 16:24 
AnswerRe: stored procedure Output parameter value is Null Pin
Colin Angus Mackay14-Jul-06 21:53
Colin Angus Mackay14-Jul-06 21:53 
GeneralRe: stored procedure Output parameter value is Null Pin
Mike Dimmick15-Jul-06 3:57
Mike Dimmick15-Jul-06 3:57 
GeneralRe: stored procedure Output parameter value is Null Pin
For_IT16-Jul-06 11:05
For_IT16-Jul-06 11:05 
GeneralRe: stored procedure Output parameter value is Null Pin
For_IT16-Jul-06 12:18
For_IT16-Jul-06 12:18 
I changed the code as follows

ALTER PROCEDURE [dbo].[GetUserControlTemplateCode]
@product_id int,
@genmask_code nvarchar(max) output
AS
BEGIN
SET NOCOUNT ON;
Declare @product_type int

Select b.product_type, @genmask_code=dbo.cp_genmask.genmask_code
from dbo.cp_genmask as a inner join dbo.cp_product as b
on a.genmask_product_type=b.product_type
where b.product_id=@product_id
END

I executed this code using using

exec GetUserControlTemplateCode 1, @genmask_code output
print @genmask_code

It gives me message as command executed successfully, but I can not see any data in output window. Again when I call this procedure from code behind code it shows null value...

Please suggest where I am wrong.

QuestionProblem accessing a SSIS Package Pin
mysorian14-Jul-06 6:04
professionalmysorian14-Jul-06 6:04 
AnswerRe: Problem accessing a SSIS Package Pin
mysorian14-Jul-06 7:54
professionalmysorian14-Jul-06 7:54 
AnswerRe: Problem accessing a SSIS Package Pin
Dave Kreskowiak14-Jul-06 9:30
mveDave Kreskowiak14-Jul-06 9:30 
GeneralRe: Problem accessing a SSIS Package Pin
mysorian15-Jul-06 4:39
professionalmysorian15-Jul-06 4:39 
QuestionDifferance between '@variable' and '@@variable' in SQL Pin
Sampath Eleperuma14-Jul-06 4:09
professionalSampath Eleperuma14-Jul-06 4:09 
AnswerRe: Differance between '@variable' and '@@variable' in SQL Pin
Eric Dahlvang14-Jul-06 5:12
Eric Dahlvang14-Jul-06 5:12 
Questionnumeric data type value Pin
For_IT14-Jul-06 0:06
For_IT14-Jul-06 0:06 
AnswerRe: numeric data type value Pin
Mike Dimmick14-Jul-06 0:27
Mike Dimmick14-Jul-06 0:27 
GeneralRe: numeric data type value Pin
For_IT14-Jul-06 0:55
For_IT14-Jul-06 0:55 
GeneralRe: numeric data type value Pin
Mairaaj Khan14-Jul-06 2:02
professionalMairaaj Khan14-Jul-06 2:02 
GeneralRe: numeric data type value Pin
For_IT14-Jul-06 3:11
For_IT14-Jul-06 3:11 
AnswerRe: numeric data type value Pin
Heinz_15-Jul-06 14:27
Heinz_15-Jul-06 14:27 
Questionwhere not exists problem! Pin
richiemac13-Jul-06 23:19
richiemac13-Jul-06 23:19 
AnswerRe: where not exists problem! Pin
Mike Dimmick14-Jul-06 0:23
Mike Dimmick14-Jul-06 0:23 
AnswerRe: where not exists problem! Pin
Eric Dahlvang14-Jul-06 3:21
Eric Dahlvang14-Jul-06 3:21 
AnswerThanks for the help guys Pin
richiemac14-Jul-06 3:35
richiemac14-Jul-06 3:35 
GeneralRe: Thanks for the help guys Pin
Eric Dahlvang14-Jul-06 5:50
Eric Dahlvang14-Jul-06 5:50 

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.