Click here to Skip to main content
15,905,136 members
Home / Discussions / Database
   

Database

 
GeneralStored procedure question Pin
LasVegasGuy10-Feb-04 8:20
LasVegasGuy10-Feb-04 8:20 
GeneralRe: Stored procedure question Pin
Bill Dean10-Feb-04 9:26
Bill Dean10-Feb-04 9:26 
GeneralRe: Stored procedure question Pin
Mazdak10-Feb-04 9:28
Mazdak10-Feb-04 9:28 
GeneralRe: Stored procedure question Pin
Husein12-Feb-04 5:45
Husein12-Feb-04 5:45 
GeneralBrick Wall!! Pin
Kwai Cheng Kane10-Feb-04 6:04
Kwai Cheng Kane10-Feb-04 6:04 
GeneralRe: Brick Wall!! Pin
Bill Dean10-Feb-04 8:09
Bill Dean10-Feb-04 8:09 
GeneralRe: Brick Wall!! Pin
Bill Dean10-Feb-04 8:12
Bill Dean10-Feb-04 8:12 
GeneralRe: Brick Wall!! Pin
10-Feb-04 10:13
suss10-Feb-04 10:13 
I think the "int" being returned is an int16 and not an int32. Here is why. I just ran several more tests and found one, consistently repeatable situation where it is copying over 450000 records, but the routine's return value was just over 2000!!!

I confirm this by using query analyzer to delete the contents of the destination table. Then I run the procedure. After nearly a minute, it returns and the number reported by the routine is just over 2600 rows effected. However, if I do a "SELECT count(*)" on the table in query analyzer, it reports over 461000. The 461000+ figure is correct!!!

It is acting exactly as if it is overflowing an int16 number.

Oh yeah. On the parameter thing. I think only parameters are set/returned by stored procedures. If I add a parameter, it's value is unchanged upon return from the command call, to spite the fact I set the parameter to contain the command returnvalue.

GeneralRe: Brick Wall!! Pin
Kwai Cheng Kane10-Feb-04 9:06
Kwai Cheng Kane10-Feb-04 9:06 
GeneralRe: Brick Wall!! Pin
Bill Dean10-Feb-04 10:28
Bill Dean10-Feb-04 10:28 
GeneralRe: Brick Wall!! Pin
Kwai Cheng Kane10-Feb-04 10:51
Kwai Cheng Kane10-Feb-04 10:51 
GeneralRe: Brick Wall!! Pin
Kwai Cheng Kane10-Feb-04 11:34
Kwai Cheng Kane10-Feb-04 11:34 
GeneralRe: Brick Wall!! Pin
Kwai Cheng Kane10-Feb-04 12:45
Kwai Cheng Kane10-Feb-04 12:45 
QuestionHow to replace a string while retrieving data from an access database in ASP. NET Pin
mmxguy10-Feb-04 3:05
mmxguy10-Feb-04 3:05 
AnswerRe: How to replace a string while retrieving data from an access database in ASP. NET Pin
michanne11-Feb-04 9:47
michanne11-Feb-04 9:47 
GeneralDAO query by array long[] numbers Pin
arbrsoft9-Feb-04 0:14
arbrsoft9-Feb-04 0:14 
GeneralRe: DAO query by array long[] numbers Pin
Steve S10-Feb-04 6:18
Steve S10-Feb-04 6:18 
QuestionMultiple Header DataGrid....anyone?? Pin
srt76-Feb-04 9:49
srt76-Feb-04 9:49 
AnswerRe: Multiple Header DataGrid....anyone?? Pin
-Dr_X-7-Feb-04 21:05
-Dr_X-7-Feb-04 21:05 
AnswerRe: Multiple Header DataGrid....anyone?? Pin
Marcie Jones10-Feb-04 6:46
Marcie Jones10-Feb-04 6:46 
GeneralSQL Server problem Pin
srt76-Feb-04 9:47
srt76-Feb-04 9:47 
GeneralRe: SQL Server problem Pin
Hesham Amin8-Feb-04 8:40
Hesham Amin8-Feb-04 8:40 
GeneralAdapter Update function not working for me. Pin
Michael A. Barnhart6-Feb-04 4:31
Michael A. Barnhart6-Feb-04 4:31 
GeneralRe: Adapter Update function not working for me. Pin
Michael A. Barnhart6-Feb-04 13:24
Michael A. Barnhart6-Feb-04 13:24 
GeneralRe: Adapter Update function not working for me. Pin
Bill Dean6-Feb-04 17:11
Bill Dean6-Feb-04 17:11 

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.