Darrylles.
I got into this conversation because I thought that you might be up for a decent debate on the subject rather than being condescending and quite frankly obnoxious about it. What, you don't like your opinion being questioned? Live with it.
Why do you say that 'Autonumber' can not be guaranteed to be sequential? Do you know something that I'm not privvy to? (If you're referring to re-setting the Autonumber every year - then I understand, otherwise, Autonumber is ALWAYS sequential - no?).
I thought that 1,2,3,500,501,765,865 was sequential; not contiguous, but sequential.
What's the difference between 'contiguous' and 'sequential' then?
It would appear that both I, lespaul and many other people
do know something to which you are not privvy.
Sequential - consecutive: in regular succession
without gaps
You will find that contiguous is actually a poor definition of what you are trying to imply, in that most definitions will describe contiguous in the placing of PHYSICAL entities and in addition actually tends to mean 'near or
close to' Maybe you actually meant
conterminous i.e connecting without a break, or possibly
consecutive i.e. SEQUENTIAL.
Have you ever tried to apply the usual University 'relational database design methodology' in a true working environment?
Yes, and with success. Have you? Or couldn't you get it to work?
Toxic asked a question - he has reasons for wanting it this way. I assume he wants a 'user-friendly key'.
This way CAN work if he does not attempt to reset autonumber every year (why bother).
And I assumed that he wanted a sequential (and by that I mean - in your somewhat anal parlance - consecutive) set of values which an Autonumber
would NOT guarantee and based on his requirements, your solution would
require the autonumber be reset each year. since he wants the number portion to start at 1 at each new year.
The actual autonumber record value NEVER needs to relate to this 'user-friendly key' after it has been produced.
you are absolutely right, apart from the fact that it is built from the autonumber, but yes, point taken once you have used the value of autonumber, they are no longer related.
it never TECHNICALLY identifies a record within a database.
True, but then, I didn't say that it did.
I stated 'because of efficiency'. Do you really believe that ensuring data-integrity does not increase efficiency?
Do you only associate 'efficiency' with 'speed of execution'?
fair point, I obviously picked you up wrong in what you were saying.
(Was that interesting enough?)
No, I found your attitude towards a new poster trying to put forward an opinion quite obnoxious.
Never argue with an idiot, he'll bring you down to his level - then beat you with experience.
I quite agree. I'm out