Click here to Skip to main content
15,915,703 members
Home / Discussions / Database
   

Database

 
QuestionHow to recover identity ID after insert in MSSQL 2008? Pin
Igor Jas3-May-11 7:15
Igor Jas3-May-11 7:15 
AnswerRe: How to recover identity ID after insert in MSSQL 2008? Pin
DaveAuld3-May-11 7:34
professionalDaveAuld3-May-11 7:34 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Igor Jas3-May-11 11:07
Igor Jas3-May-11 11:07 
AnswerRe: How to recover identity ID after insert in MSSQL 2008? Pin
PIEBALDconsult4-May-11 1:38
mvePIEBALDconsult4-May-11 1:38 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell4-May-11 8:47
jschell4-May-11 8:47 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Mycroft Holmes5-May-11 3:46
professionalMycroft Holmes5-May-11 3:46 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Chris Meech5-May-11 3:54
Chris Meech5-May-11 3:54 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell5-May-11 8:07
jschell5-May-11 8:07 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Igor Jas5-May-11 9:24
Igor Jas5-May-11 9:24 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
Mycroft Holmes5-May-11 12:30
professionalMycroft Holmes5-May-11 12:30 
GeneralRe: How to recover identity ID after insert in MSSQL 2008? Pin
jschell6-May-11 10:50
jschell6-May-11 10:50 
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 
Mycroft Holmes wrote:
This is 100% incorrect, and one of the arguments FOR guids. Primary key should have absolutely NO intelligence other than to identify the record.


Err...obviously what you quoted is 100% correct.

Guids do not have an ordering.
Integer values do.

That said you might disagree with my assertion that one might need an implicit ordering in a table but that has NOTHING do with what you quoted.

Presumably you are claiming that the need is never possible and can never occur.
I am claiming that sometimes, rarely, it does provide a solution.
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 
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 

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.