Click here to Skip to main content
15,911,891 members
Home / Discussions / Database
   

Database

 
AnswerRe: difference between delete, truncate and drop in sql server Pin
Colin Angus Mackay25-Oct-06 23:15
Colin Angus Mackay25-Oct-06 23:15 
GeneralRe: difference between delete, truncate and drop in sql server Pin
Paddy Boyd27-Oct-06 3:58
Paddy Boyd27-Oct-06 3:58 
GeneralRe: difference between delete, truncate and drop in sql server Pin
Colin Angus Mackay27-Oct-06 6:28
Colin Angus Mackay27-Oct-06 6:28 
GeneralRe: difference between delete, truncate and drop in sql server Pin
Paddy Boyd27-Oct-06 6:31
Paddy Boyd27-Oct-06 6:31 
QuestionReturning more than one value from a stored procedure? [modified] Pin
Belfast Child25-Oct-06 1:36
Belfast Child25-Oct-06 1:36 
AnswerRe: Returning more than one value from a stored procedure? Pin
Belfast Child25-Oct-06 2:14
Belfast Child25-Oct-06 2:14 
GeneralRe: Returning more than one value from a stored procedure? Pin
Elina Blank25-Oct-06 2:19
sitebuilderElina Blank25-Oct-06 2:19 
AnswerRe: Returning more than one value from a stored procedure? Pin
Elina Blank25-Oct-06 2:18
sitebuilderElina Blank25-Oct-06 2:18 
In order to return the value from stored procedure, it is enought to declare a parameter as an OUTPUT.
in your C# code use
ParameterDirection.Output when adding this parameter.
You can retrieve value with the Value property of the created parameter.

Usually, at the end of the execution of the stored procedure, it returns number of affected rows, so in case of a SELECT clause the return is 0 (but I am not sure, I understood your last question
correctly Sigh | :sigh: )

Sincerely,
Elina

Life is great!!!
Enjoy every moment of it! Blush | :O

AnswerRe: Returning more than one value from a stored procedure? Pin
Scott Serl25-Oct-06 8:00
Scott Serl25-Oct-06 8:00 
GeneralRe: Returning more than one value from a stored procedure? Pin
Belfast Child30-Oct-06 22:43
Belfast Child30-Oct-06 22:43 
QuestionCalculated Field Pin
Dayekh25-Oct-06 0:00
Dayekh25-Oct-06 0:00 
AnswerRe: Calculated Field Pin
Colin Angus Mackay25-Oct-06 0:57
Colin Angus Mackay25-Oct-06 0:57 
GeneralRe: Calculated Field Pin
Dayekh25-Oct-06 1:45
Dayekh25-Oct-06 1:45 
AnswerRe: Calculated Field Pin
Eric Dahlvang25-Oct-06 3:25
Eric Dahlvang25-Oct-06 3:25 
GeneralRe: Calculated Field Pin
Dayekh25-Oct-06 4:29
Dayekh25-Oct-06 4:29 
QuestionMigrating db app from IIS5 to IIS6 Pin
MikeyV124-Oct-06 23:50
MikeyV124-Oct-06 23:50 
QuestionTransactions between layers. Pin
Luis C. Lopez24-Oct-06 9:22
Luis C. Lopez24-Oct-06 9:22 
AnswerRe: Transactions between layers. Pin
Colin Angus Mackay24-Oct-06 22:31
Colin Angus Mackay24-Oct-06 22:31 
AnswerRe: Transactions between layers. Pin
Luis C. Lopez25-Oct-06 6:05
Luis C. Lopez25-Oct-06 6:05 
QuestionSearch Security Pin
tmoney10124-Oct-06 2:17
tmoney10124-Oct-06 2:17 
AnswerRe: Search Security Pin
Colin Angus Mackay24-Oct-06 3:38
Colin Angus Mackay24-Oct-06 3:38 
AnswerRe: Search Security Pin
Pete O'Hanlon26-Oct-06 9:05
mvePete O'Hanlon26-Oct-06 9:05 
QuestionOne large table vs. several smaller tables Pin
Joe Smith IX24-Oct-06 0:25
Joe Smith IX24-Oct-06 0:25 
AnswerRe: One large table vs. several smaller tables Pin
Jim Conigliaro24-Oct-06 4:48
Jim Conigliaro24-Oct-06 4:48 
GeneralRe: One large table vs. several smaller tables Pin
Joe Smith IX25-Oct-06 8:49
Joe Smith IX25-Oct-06 8:49 

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.