Click here to Skip to main content
16,004,944 members
Home / Discussions / Database
   

Database

 
GeneralTemp Tables Created in Stored Procedures Pin
swjam12-Feb-08 16:44
swjam12-Feb-08 16:44 
GeneralRe: Temp Tables Created in Stored Procedures Pin
N a v a n e e t h12-Feb-08 19:41
N a v a n e e t h12-Feb-08 19:41 
Generalfloat type data problem Pin
vuthaianh12-Feb-08 14:44
vuthaianh12-Feb-08 14:44 
GeneralRe: float type data problem Pin
Krish - KP12-Feb-08 16:59
Krish - KP12-Feb-08 16:59 
GeneralRe: float type data problem Pin
Mark Churchill13-Feb-08 2:23
Mark Churchill13-Feb-08 2:23 
GeneralProblem with an SQL Procedure that Returns an OutPut Pin
Vimalsoft(Pty) Ltd12-Feb-08 10:13
professionalVimalsoft(Pty) Ltd12-Feb-08 10:13 
GeneralRe: Problem with an SQL Procedure that Returns an OutPut Pin
Joe12-Feb-08 19:31
Joe12-Feb-08 19:31 
GeneralRe: Problem with an SQL Procedure that Returns an OutPut Pin
Paddy Boyd12-Feb-08 23:49
Paddy Boyd12-Feb-08 23:49 
What you are getting here is the return code of the stored procedure and not the output parameter. You need to set as the following:
con.Open()

cmdselect.ExecuteScalar

res =  cmdselect.Parameters("@OutRes").value

con.Close()


Would also suggest putting you connection close in a finally block.
AnswerRe: Problem with an SQL Procedure that Returns an OutPut Pin
Vimalsoft(Pty) Ltd13-Feb-08 9:12
professionalVimalsoft(Pty) Ltd13-Feb-08 9:12 
GeneralSQL database login and password connection string Pin
Cory Kimble12-Feb-08 2:53
Cory Kimble12-Feb-08 2:53 
AnswerRe: SQL database login and password connection string Pin
Ashfield12-Feb-08 3:36
Ashfield12-Feb-08 3:36 
GeneralRe: SQL database login and password connection string Pin
Cory Kimble13-Feb-08 10:57
Cory Kimble13-Feb-08 10:57 
GeneralRe: SQL database login and password connection string Pin
Cory Kimble13-Feb-08 10:57
Cory Kimble13-Feb-08 10:57 
GeneralDisplay Duplicate Rows Only once Pin
Kodanda Pani12-Feb-08 2:23
Kodanda Pani12-Feb-08 2:23 
GeneralRe: Display Duplicate Rows Only once Pin
Paddy Boyd12-Feb-08 2:53
Paddy Boyd12-Feb-08 2:53 
GeneralRe: Display Duplicate Rows Only once Pin
Kodanda Pani12-Feb-08 12:30
Kodanda Pani12-Feb-08 12:30 
GeneralRe: Display Duplicate Rows Only once [modified] Pin
David Branscome12-Feb-08 12:43
David Branscome12-Feb-08 12:43 
GeneralAn acute problem with MSMDPump.dll Pin
Vasudevan Deepak Kumar12-Feb-08 2:13
Vasudevan Deepak Kumar12-Feb-08 2:13 
Questioncan any one tell , what is the best use of view, how to create and execute, how to user trigger, i try...... Pin
Shaik Haneef12-Feb-08 1:33
Shaik Haneef12-Feb-08 1:33 
GeneralWhich edition of sql server in suitable for ny application. Pin
r_mohd12-Feb-08 1:32
r_mohd12-Feb-08 1:32 
GeneralRe: Which edition of sql server in suitable for ny application. Pin
GuyThiebaut12-Feb-08 5:48
professionalGuyThiebaut12-Feb-08 5:48 
GeneralRe: Which edition of sql server in suitable for ny application. Pin
r_mohd12-Feb-08 17:41
r_mohd12-Feb-08 17:41 
QuestionMS CRM Reporting Services Pin
wolfgangmull11-Feb-08 22:06
wolfgangmull11-Feb-08 22:06 
QuestionGetting "When connecting to SQL Server 2005 Error" using MS SQL 2000? Pin
eyeseetee11-Feb-08 21:48
eyeseetee11-Feb-08 21:48 
Generalsqlserver2005 Pin
Jeeno24711-Feb-08 21:24
Jeeno24711-Feb-08 21:24 

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.