Click here to Skip to main content
15,878,809 members
Home / Discussions / Database
   

Database

 
QuestionRemote Connection Pin
Xerox47-Oct-07 21:43
professionalXerox47-Oct-07 21:43 
QuestionWhat sql server 2000 componenets do I have? Pin
Jwalant Natvarlal Soneji7-Oct-07 21:20
Jwalant Natvarlal Soneji7-Oct-07 21:20 
AnswerRe: What sql server 2000 componenets do I have? Pin
Jwalant Natvarlal Soneji8-Oct-07 16:53
Jwalant Natvarlal Soneji8-Oct-07 16:53 
Questioncross tab query problem Pin
veereshIndia7-Oct-07 20:01
veereshIndia7-Oct-07 20:01 
AnswerRe: cross tab query problem Pin
pmarfleet7-Oct-07 21:50
pmarfleet7-Oct-07 21:50 
Questionfunction multi statement table values in stored procedure Pin
Sonia Gupta7-Oct-07 19:30
Sonia Gupta7-Oct-07 19:30 
AnswerRe: function multi statement table values in stored procedure Pin
N a v a n e e t h7-Oct-07 22:12
N a v a n e e t h7-Oct-07 22:12 
GeneralRe: function multi statement table values in stored procedure Pin
Sonia Gupta7-Oct-07 22:28
Sonia Gupta7-Oct-07 22:28 
CREATE FUNCTION [dbo].[FLifeId] (@itemid int ,@itemsubid int,@itemssubid int,@typeid int,@subtypeid int)
RETURNS int
AS
BEGIN
declare @lifeid int
declare @combinationid int
set @lifeid = 0
set @combinationid = 0
select @combinationid = CombinationId from tblItemsIdComposition where MCPId = @itemid and MCPSubId = MCPSubId and MCPSSubId = @itemssubid

if (@combinationid = 0)
begin
return @combinationid
end

else
begin
select @lifeid = id1 from a where combid = @combinationid and tyid = @typeid and styid = @subtypeid
end

return @lifeid

END


This is the ,matter i am typing in my funciton.The thing is , i want to pass two parameters back to the stored procedure , whee i am calling this funciton.
i know i can't return two values back to the stored procs.
Then how should i do it ?

Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1

GeneralRe: function multi statement table values in stored procedure Pin
pmarfleet7-Oct-07 23:18
pmarfleet7-Oct-07 23:18 
QuestionIs it possible for SQL Server 2000 and MySQL? Pin
klaydze7-Oct-07 19:24
klaydze7-Oct-07 19:24 
AnswerRe: Is it possible for SQL Server 2000 and MySQL? Pin
Jwalant Natvarlal Soneji7-Oct-07 21:23
Jwalant Natvarlal Soneji7-Oct-07 21:23 
QuestionModify Database Pin
Widgets7-Oct-07 19:02
Widgets7-Oct-07 19:02 
QuestionApplication partitioning Pin
mikker_1237-Oct-07 7:04
mikker_1237-Oct-07 7:04 
QuestionSQL server 2005 with Enterprise Library 1.1 Pin
asif m@hmood6-Oct-07 23:15
asif m@hmood6-Oct-07 23:15 
QuestionAccount is locked Pin
Ahamed Azeem6-Oct-07 22:46
Ahamed Azeem6-Oct-07 22:46 
AnswerRe: Account is locked Pin
Paul Conrad7-Oct-07 11:11
professionalPaul Conrad7-Oct-07 11:11 
QuestionHiding SQL Server Pin
ben_6346-Oct-07 13:58
ben_6346-Oct-07 13:58 
AnswerRe: Hiding SQL Server Pin
Christian Graus7-Oct-07 10:29
protectorChristian Graus7-Oct-07 10:29 
AnswerRe: Hiding SQL Server Pin
Paul Conrad7-Oct-07 11:10
professionalPaul Conrad7-Oct-07 11:10 
AnswerRe: Hiding SQL Server Pin
Jwalant Natvarlal Soneji7-Oct-07 21:30
Jwalant Natvarlal Soneji7-Oct-07 21:30 
Questionfunction in sql server Pin
Sonia Gupta6-Oct-07 2:25
Sonia Gupta6-Oct-07 2:25 
AnswerRe: function in sql server Pin
pmarfleet6-Oct-07 5:13
pmarfleet6-Oct-07 5:13 
Questionuse of stored procedure Pin
Rinki Mukheraji6-Oct-07 2:23
Rinki Mukheraji6-Oct-07 2:23 
AnswerRe: use of stored procedure Pin
GuyThiebaut6-Oct-07 2:44
professionalGuyThiebaut6-Oct-07 2:44 
AnswerRe: use of stored procedure Pin
Jwalant Natvarlal Soneji7-Oct-07 21:32
Jwalant Natvarlal Soneji7-Oct-07 21:32 

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.