Click here to Skip to main content
15,901,205 members
Home / Discussions / Database
   

Database

 
QuestionMS SQL: how to reorganize identity column values? Pin
michal.kreslik6-Mar-10 11:52
michal.kreslik6-Mar-10 11:52 
AnswerRe: MS SQL: how to reorganize identity column values? Pin
i.j.russell6-Mar-10 12:47
i.j.russell6-Mar-10 12:47 
AnswerRe: MS SQL: how to reorganize identity column values? Pin
Gerald Schwab6-Mar-10 16:30
Gerald Schwab6-Mar-10 16:30 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes6-Mar-10 16:45
professionalMycroft Holmes6-Mar-10 16:45 
AnswerRe: MS SQL: how to reorganize identity column values? Pin
PIEBALDconsult7-Mar-10 17:13
mvePIEBALDconsult7-Mar-10 17:13 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes7-Mar-10 18:34
professionalMycroft Holmes7-Mar-10 18:34 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
PIEBALDconsult8-Mar-10 12:01
mvePIEBALDconsult8-Mar-10 12:01 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes8-Mar-10 13:25
professionalMycroft Holmes8-Mar-10 13:25 
After a few more years it is the problem of the support team Roll eyes | :rolleyes: . I know that's not a reasonable answer!

PIEBALDconsult wrote:
And, perhaps, you could mock it up; have your own Guid class that returns:


and the difference between
Select * from SomeTable where ID = 1


and
Select * from SomeTable where ID = '00000000-0000-0000-0000-000000000001'


Is that in the 2nd instance I HAVE to cut and paste or 29 key strokes plus 4 shifts oh yeah and the ', and I can remember 1. Nope guids are a developers nightmare, if I knew before hand that a contract used guids for IDs I would refuse the contract (I have not been desperate for work for a looong time).

IMHO the only valid application for guids is in a distributed application where the data is to be merged and even then I would opt for a locationid or only put the guids on the transaction table!
Never underestimate the power of human stupidity
RAH

GeneralRe: MS SQL: how to reorganize identity column values? Pin
PIEBALDconsult8-Mar-10 17:34
mvePIEBALDconsult8-Mar-10 17:34 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes8-Mar-10 18:32
professionalMycroft Holmes8-Mar-10 18:32 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik8-Mar-10 22:49
michal.kreslik8-Mar-10 22:49 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes8-Mar-10 23:41
professionalMycroft Holmes8-Mar-10 23:41 
AnswerRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes7-Mar-10 18:36
professionalMycroft Holmes7-Mar-10 18:36 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik8-Mar-10 1:06
michal.kreslik8-Mar-10 1:06 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik8-Mar-10 21:54
michal.kreslik8-Mar-10 21:54 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
Mycroft Holmes8-Mar-10 22:27
professionalMycroft Holmes8-Mar-10 22:27 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik8-Mar-10 22:30
michal.kreslik8-Mar-10 22:30 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik8-Mar-10 23:57
michal.kreslik8-Mar-10 23:57 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik9-Mar-10 23:19
michal.kreslik9-Mar-10 23:19 
GeneralRe: MS SQL: how to reorganize identity column values? Pin
michal.kreslik15-Mar-10 0:53
michal.kreslik15-Mar-10 0:53 
QuestionSQL Query Pin
Wayne Gaylard5-Mar-10 22:20
professionalWayne Gaylard5-Mar-10 22:20 
AnswerRe: SQL Query Pin
Mycroft Holmes6-Mar-10 2:42
professionalMycroft Holmes6-Mar-10 2:42 
GeneralRe: SQL Query Pin
Wayne Gaylard6-Mar-10 6:25
professionalWayne Gaylard6-Mar-10 6:25 
GeneralRe: SQL Query Pin
Mycroft Holmes6-Mar-10 11:53
professionalMycroft Holmes6-Mar-10 11:53 
GeneralRe: SQL Query Pin
Wayne Gaylard6-Mar-10 14:30
professionalWayne Gaylard6-Mar-10 14:30 

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.