Click here to Skip to main content
15,886,873 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Mycroft Holmes5-May-11 12:27
professionalMycroft Holmes5-May-11 12:27 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult5-May-11 14:24
mvePIEBALDconsult5-May-11 14:24 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Mycroft Holmes5-May-11 15:12
professionalMycroft Holmes5-May-11 15:12 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Shameel6-May-11 4:49
professionalShameel6-May-11 4:49 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell6-May-11 10:57
jschell6-May-11 10:57 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Mycroft Holmes6-May-11 11:36
professionalMycroft Holmes6-May-11 11:36 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult7-May-11 8:28
mvePIEBALDconsult7-May-11 8:28 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell9-May-11 8:58
jschell9-May-11 8:58 
Mycroft Holmes wrote:
No you read correctly


Nope.

What you quoted had nothing to do with what you then went on to state was wrong.

Mycroft Holmes wrote:
No you read correctly, this is a fundamental rule of database design and if you
ignore it you will get bitten somewhere down the track. A PK has only 1 job,
identify the record. Ordering the data is NOT part of the PKs job, thats up to
the designer to implement a specific solution.
 


And as I said sometimes ordering is required. As you said as well.

From that one then must decide on a way to provide that ordering. And PK integer might be used for that that.

Or not.

The needs of the application, business, project needs, etc define the design.

Not arbitrary rules.
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Mycroft Holmes9-May-11 11:01
professionalMycroft Holmes9-May-11 11:01 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell10-May-11 11:47
jschell10-May-11 11:47 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult30-Jul-11 20:27
mvePIEBALDconsult30-Jul-11 20:27 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult7-May-11 8:21
mvePIEBALDconsult7-May-11 8:21 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell9-May-11 9:01
jschell9-May-11 9:01 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult9-May-11 15:10
mvePIEBALDconsult9-May-11 15:10 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell10-May-11 11:38
jschell10-May-11 11:38 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult10-May-11 14:52
mvePIEBALDconsult10-May-11 14:52 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult5-May-11 14:22
mvePIEBALDconsult5-May-11 14:22 
AnswerRe: How to recover identity ID after insert in MSSQL 2008? Pin
Prasanta_Prince6-May-11 6:18
Prasanta_Prince6-May-11 6:18 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Mycroft Holmes6-May-11 11:38
professionalMycroft Holmes6-May-11 11:38 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult7-May-11 8:33
mvePIEBALDconsult7-May-11 8:33 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell9-May-11 9:09
jschell9-May-11 9:09 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult9-May-11 15:04
mvePIEBALDconsult9-May-11 15:04 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell10-May-11 11:51
jschell10-May-11 11:51 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult10-May-11 14:54
mvePIEBALDconsult10-May-11 14:54 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell11-May-11 7:57
jschell11-May-11 7:57 

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.