Click here to Skip to main content
15,898,134 members
Home / Discussions / Database
   

Database

 
QuestionWhat wrong it this script?? Pin
Skanless31-Jul-06 9:17
Skanless31-Jul-06 9:17 
AnswerRe: What wrong it this script?? Pin
Chris Meech31-Jul-06 9:46
Chris Meech31-Jul-06 9:46 
GeneralRe: What wrong it this script?? Pin
Skanless31-Jul-06 10:07
Skanless31-Jul-06 10:07 
AnswerRe: What wrong it this script?? [modified] Pin
Eric Dahlvang31-Jul-06 9:52
Eric Dahlvang31-Jul-06 9:52 
QuestionInsert Question Pin
PyroManiak31-Jul-06 8:47
PyroManiak31-Jul-06 8:47 
AnswerRe: Insert Question Pin
Ennis Ray Lynch, Jr.31-Jul-06 9:27
Ennis Ray Lynch, Jr.31-Jul-06 9:27 
GeneralRe: Insert Question Pin
PyroManiak31-Jul-06 13:22
PyroManiak31-Jul-06 13:22 
QuestionADO.NET OUTPUT Parameter Pin
Carlos Paiva31-Jul-06 3:11
Carlos Paiva31-Jul-06 3:11 
Hi all

I'm moving an VB6 app to .NET and i'm faced with the following problem:

Having the following stored procedure in SQL SERVER 2000, that returns a dataset (Read only) AND has an OUTPUT parameter at same time, which of the command methods should i use, since it seems that ExecuteReader (Thats seems to be the only that returns a rowset) doesnt update the OUTPUT parameter.
Im I missing something?, Is there Any work Around?

'==============================================================================
ALTER PROCEDURE spGetResourceText (@frmName varchar(20),@MaxIndex int OUTPUT)
AS
SET NOCOUNT ON

SELECT @MaxIndex = Max(Id) FROM tblResourceText WHERE frmName = @frmName
SELECT * FROM tblResourceText WHERE frmName = @frmName

RETURN
'==============================================================================

Thanks in advance for your time!
Carlos Paiva

AnswerRe: ADO.NET OUTPUT Parameter Pin
ToddHileHoffer31-Jul-06 7:35
ToddHileHoffer31-Jul-06 7:35 
GeneralRe: ADO.NET OUTPUT Parameter Pin
Carlos Paiva1-Aug-06 4:29
Carlos Paiva1-Aug-06 4:29 
Questioncomplex SQL statement? Pin
giddy_guitarist30-Jul-06 23:06
giddy_guitarist30-Jul-06 23:06 
AnswerRe: complex SQL statement? Pin
Colin Angus Mackay30-Jul-06 23:36
Colin Angus Mackay30-Jul-06 23:36 
QuestionDelete Carriage Return Pin
oskardiazdeleon30-Jul-06 21:13
oskardiazdeleon30-Jul-06 21:13 
AnswerRe: Delete Carriage Return Pin
Eric Dahlvang31-Jul-06 3:37
Eric Dahlvang31-Jul-06 3:37 
QuestionCopy two xml doc in to a table in sql Pin
kalyan_vb30-Jul-06 17:43
kalyan_vb30-Jul-06 17:43 
AnswerRe: Copy two xml doc in to a table in sql Pin
tanya foster2-Aug-06 10:52
tanya foster2-Aug-06 10:52 
QuestionOffice Wob Components: PivotTable, SpreadSheet ... Pin
hamidreza_buddy30-Jul-06 4:22
hamidreza_buddy30-Jul-06 4:22 
Questionget the difference of two attributes in two tables Pin
00thilani29-Jul-06 20:23
00thilani29-Jul-06 20:23 
AnswerRe: get the difference of two attributes in two tables Pin
Colin Angus Mackay29-Jul-06 22:53
Colin Angus Mackay29-Jul-06 22:53 
GeneralEmbeddable SQL database Pin
Jörgen Sigvardsson29-Jul-06 12:38
Jörgen Sigvardsson29-Jul-06 12:38 
GeneralRe: Embeddable SQL database Pin
S Douglas29-Jul-06 19:59
professionalS Douglas29-Jul-06 19:59 
GeneralRe: Embeddable SQL database [modified] Pin
Jörgen Sigvardsson30-Jul-06 0:06
Jörgen Sigvardsson30-Jul-06 0:06 
GeneralRe: Embeddable SQL database Pin
S Douglas30-Jul-06 21:14
professionalS Douglas30-Jul-06 21:14 
GeneralRe: Embeddable SQL database Pin
Jörgen Sigvardsson30-Jul-06 21:20
Jörgen Sigvardsson30-Jul-06 21:20 
GeneralRe: Embeddable SQL database Pin
S Douglas30-Jul-06 21:53
professionalS Douglas30-Jul-06 21:53 

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.