Click here to Skip to main content
15,888,461 members
Home / Discussions / Database
   

Database

 
QuestionScope Identity() Pin
Illegal Operation4-Feb-07 22:41
Illegal Operation4-Feb-07 22:41 
AnswerRe: Scope Identity() Pin
Colin Angus Mackay4-Feb-07 22:54
Colin Angus Mackay4-Feb-07 22:54 
Question"diff b/w & and + " Pin
ravikiranreddydharmannagari4-Feb-07 21:09
ravikiranreddydharmannagari4-Feb-07 21:09 
AnswerRe: "diff b/w & and + " Pin
Colin Angus Mackay4-Feb-07 21:44
Colin Angus Mackay4-Feb-07 21:44 
QuestionSQL Server 2000 reporting services problem Pin
lucluv4-Feb-07 17:25
lucluv4-Feb-07 17:25 
QuestionCan't access last row of table after 68 rows...HELP!! Pin
Skcheng4-Feb-07 15:09
Skcheng4-Feb-07 15:09 
AnswerRe: Can't access last row of table after 68 rows...HELP!! Pin
PIEBALDconsult4-Feb-07 16:22
mvePIEBALDconsult4-Feb-07 16:22 
GeneralRe: Can't access last row of table after 68 rows...HELP!! Pin
Skcheng4-Feb-07 17:44
Skcheng4-Feb-07 17:44 
Here's some more information I've come across. There are two tables in my database, UserInfo & SessionInfo and they are connected through the field UserID, with a one-to-many relationship. When I look at the SessionInfo table alone, the sessions look as they're supposed to, the SessionPkey is ordered correctly.

However, when I expand the UserInfo row to show the related SessionInfo, at some point (around row 68 in SessionInfo) each subsequent sessioninfo is pushed on the top of the table, instead of being inserted into the bottom of the table.

So, when looking at just the SessionInfo table, the sessionPkey looks like this:
227 - 228 - 229 - 230 - ... 321 - 322 - 323 - 324

But when looking at the sessionPkey table as a subtable of the userInfo, it looks like this:

296 - 297 - 298 - 299 ... 321 - 322 - 323 - 324 - 227 - 228 - 229 - 230 ... 293 - 294 - 295

Does anyone know why this happens? I haven't changed the code used to insert into the table. Thanks.

~~~~~~~~~~~~
Dead | X| Over-worked, under-paid, glorified "secretary" Sigh | :sigh:

QuestionDataGridView vb.net 2005 ???? Pin
kindman_nb4-Feb-07 8:36
kindman_nb4-Feb-07 8:36 
QuestionSQL Server 2000 error : Key Column in Insufficient..... Pin
kindman_nb4-Feb-07 6:34
kindman_nb4-Feb-07 6:34 
AnswerRe: SQL Server 2000 error : Key Column in Insufficient..... Pin
Colin Angus Mackay4-Feb-07 11:45
Colin Angus Mackay4-Feb-07 11:45 
GeneralRe: SQL Server 2000 error : Key Column in Insufficient..... Pin
kindman_nb5-Feb-07 7:03
kindman_nb5-Feb-07 7:03 
QuestionA SQL procedure to STOP repeated info being stored Pin
tedhill134-Feb-07 5:58
tedhill134-Feb-07 5:58 
AnswerRe: A SQL procedure to STOP repeated info being stored Pin
Colin Angus Mackay4-Feb-07 11:40
Colin Angus Mackay4-Feb-07 11:40 
GeneralRe: A SQL procedure to STOP repeated info being stored Pin
tedhill134-Feb-07 23:23
tedhill134-Feb-07 23:23 
GeneralRe: A SQL procedure to STOP repeated info being stored Pin
Colin Angus Mackay5-Feb-07 1:30
Colin Angus Mackay5-Feb-07 1:30 
AnswerRe: A SQL procedure to STOP repeated info being stored Pin
PIEBALDconsult4-Feb-07 16:34
mvePIEBALDconsult4-Feb-07 16:34 
QuestionSample application Pin
CoolOT3-Feb-07 7:25
CoolOT3-Feb-07 7:25 
AnswerRe: Sample application Pin
User 17164923-Feb-07 8:10
professionalUser 17164923-Feb-07 8:10 
QuestionReading Return Val from SP Called from VB.NET? Pin
Justin Cooke2-Feb-07 7:05
Justin Cooke2-Feb-07 7:05 
AnswerRe: Reading Return Val from SP Called from VB.NET? Pin
Colin Angus Mackay2-Feb-07 8:47
Colin Angus Mackay2-Feb-07 8:47 
QuestionSql Server query syntax needed Pin
Saira Tanwir2-Feb-07 6:56
Saira Tanwir2-Feb-07 6:56 
AnswerRe: Sql Server query syntax needed Pin
Colin Angus Mackay2-Feb-07 8:38
Colin Angus Mackay2-Feb-07 8:38 
AnswerRe: Sql Server query syntax needed Pin
PIEBALDconsult2-Feb-07 8:43
mvePIEBALDconsult2-Feb-07 8:43 
QuestionSQL Query Pin
Tyrone_whitey2-Feb-07 5:00
Tyrone_whitey2-Feb-07 5:00 

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.