Viewing 15 posts - 1 through 15 (of 57 total)
gosh (11/24/2010)
I have to admit that I am not impressed with the title. It is wrong...Column order is irrelevant. Column presence is.
Lol, and here I was criticizing the article...
November 24, 2010 at 2:22 am
taylor_benjamin (11/23/2010)
November 23, 2010 at 8:11 pm
cengland0 (11/23/2010)
Why would you create a compound index with both last name and first name together? Why not two separate indexes...
November 23, 2010 at 8:11 am
Kiran, B-trees really aren't that complex to understand. In all four of your examples, there will be an index seek. In case 1 and 4, the index will...
November 23, 2010 at 4:05 am
An article so absolutely shallow and superficial as to be entirely braindead. I won't go into why (if you don't already know, then you shouldn't be writing SQL...
November 23, 2010 at 1:50 am
sql.monkey (11/4/2010)
It works, and yes there are tens of billions of rows.
Sorry, I don't buy ocean-front property in Kansas.
If you want to convince us your server manages to...
November 4, 2010 at 8:12 pm
sql.monkey (11/4/2010)
November 4, 2010 at 7:55 pm
sql.monkey (11/4/2010)
select @max-2= max(primarykey) where datecol <= 'enddate'
select primarykey, datecol, x,y,z from table where primarykey between
November 4, 2010 at 7:14 pm
David Portas (11/4/2010)
As already stated, in the relational model a key is only required to be unique and irreducible. Stability is never a requirement
Exactly so. Too many developers are...
November 4, 2010 at 9:35 am
ta.bu.shi.da.yu (11/4/2010)
the formal definition of the normal forms relates to the tables themselves. You seem to be confused with how the normal forms work.
Note that I'm not saying that...
November 4, 2010 at 8:34 am
ta.bu.shi.da.yu (11/4/2010)
I am really curious to know why it's a good idea to not enforce the immutability of the key!
This has already been covered in excruciating detail. First of...
November 4, 2010 at 8:15 am
ta.bu.shi.da.yu (11/4/2010)
You're getting a bit abusive here dude. Perhaps you should chill?
Thanks, but I'm not a "dude", and if you don't wish to be abused, perhaps you shouldn't be condescending...
November 4, 2010 at 7:58 am
ta.bu.shi.da.yu (11/4/2010)
ebaya (11/4/2010)
If your key changes, you update it.Yeah, along with all the data in all the tables that rely on it. Nice one.
Given you were the poster who thought...
November 4, 2010 at 7:24 am
Robert Mahon-475361 (11/4/2010)
That's what I don't get, an SSN doesn't uniquely identify a person.
Yes it does. You're still thinking at the database level. But a database is simply...
November 4, 2010 at 6:17 am
Robert Mahon-475361 (11/4/2010)
SSN's keep being mentioned, but they can change/be missed/be duplicates. Most other 'natural' keys end up falling to the same traps. ...
November 4, 2010 at 2:17 am
Viewing 15 posts - 1 through 15 (of 57 total)