Viewing 13 posts - 1 through 13 (of 13 total)
David Portas (11/4/2010)
Michael Wang (11/4/2010)
David Portas (11/4/2010)
Michael Wang (11/4/2010)
November 4, 2010 at 8:32 am
David Portas (11/4/2010)
Michael Wang (11/4/2010)
November 4, 2010 at 8:17 am
ebaya (11/4/2010)
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...
November 4, 2010 at 7:26 am
that's right: make sure you have a unique business key to constrain a record. But this is different from making it the PK. Another confusion between PK and...
October 25, 2010 at 8:13 am
I'm glad you caught me saying the word that I never use to myself. Apparently this is a bad word for you. But for countless DBAs who are unfortunately tasked...
October 25, 2010 at 8:08 am
this article serves a perfect example of data bases designed by those DBAs who understand little of the real business worlds and tend to take a static view of the...
October 25, 2010 at 7:29 am
Thank you, Declan, for the tip.
Any idea or pointers for my second question?
Michael
January 30, 2007 at 8:15 am
ps. I changed the original data a little bit: I set the termination dates to 1/1/2079 for those where term_date is null. this is to avoid dealing with null fields,...
April 10, 2006 at 2:24 pm
Using Vladan's table source, the data can be rearranged declaratively as follows:
-- first create a time line that is ponctuated by starting date and ending date
create table #t (rowno int...
April 10, 2006 at 2:04 pm
I run similar query all the time. If this is your primary query against UMF_SUM_MATCHLOG, you should create unique CLUSTERED index on (load_id, RECORD_TYPE, ...). If no such index can...
April 10, 2006 at 9:49 am
I see nothing wrong with procedural code if implemeneted properly. The original code has the problem of being too complex and is also limited in scope. I ran it up...
October 24, 2005 at 10:59 am
Ryan, it was a nice try but would not solve my problem.
My example was a bit misleading: the numbers in Col2 do not...
February 4, 2005 at 12:58 pm
To add to this subject, I twisted your question a little and here's another query:
select b.YearId, b.CourseId, a.StudentId, NumYears = count(*)
from TCourseTaken a inner join
(select Year = min(Year), CourseId, StudentId
...
December 15, 2003 at 7:21 pm
Viewing 13 posts - 1 through 13 (of 13 total)