Viewing 15 posts - 136 through 150 (of 242 total)
Charles Kincaid (12/5/2008)
I used to go through 2 bottles of Diet Mountain Dew per day - 2 liters each.
In 2004, I worked on a project where my boss...
December 5, 2008 at 9:49 am
Manie Verster (12/5/2008)
December 5, 2008 at 8:49 am
Awesome! Having spent years using all sorts of languages to prepare cross-tabs, I really love the results here.
I, too, went back and read the discussion on the first article....
December 3, 2008 at 8:18 am
RE: audit table - it's not like a standard audit table. I have several of those, and the columns do match the datatypes of the tables that they audit....
December 3, 2008 at 7:38 am
Practically speaking, I expect only "American-keyboard" ascii characters, but I suspect the original designer wanted to cover international users.
But I can think of a number of other columns in this...
December 2, 2008 at 10:33 am
Lynn Pettis (11/25/2008)
November 25, 2008 at 7:48 am
No, actually, only 10,000 PersonIds in my test table of 5 million rows (1 million unique PersonIDs) have records that are out of order; that's about 1% of the ids....
November 13, 2008 at 2:51 pm
AlexT (11/13/2008)
select a.PersonID, a.Version, a.DEDate,
case when b.PersonID is null then 0 else 1 end AS [Is ImProper]
from...
November 13, 2008 at 12:58 pm
AlexT (11/13/2008)
select distinct a.PersonID,a.Version, a.DEDate , case when b.PersonID is null then 0 else 1 end AS [Is...
November 13, 2008 at 9:39 am
AlexT (11/13/2008)
select distinct a.PersonID,a.Version, a.DEDate , case when b.PersonID is null then 0 else 1 end AS [Is ImProper]
from PersonRecord a
left join (
select a.PersonID
from PersonRecord a
inner join...
November 13, 2008 at 9:19 am
AlexT (11/13/2008)
Am I missing something ?select a.PersonID,a.Version, a.DEDate , 1 AS [Is ImProper]
from PersonRecord a
inner join PersonRecord b on a.PersonID = b.PersonID and a.Version>b.Version and a.DEDate<b.DEDate
Yes, you then need...
November 13, 2008 at 8:36 am
Peter M. (11/12/2008)
November 13, 2008 at 7:59 am
dfarran (11/13/2008)
SELECT a.PersonID, a.Version , a.dedate,
[is improper] = CASE WHEN MAX(c.version) IS...
November 13, 2008 at 7:36 am
I was curious how the different techniques performed, so I loaded up the PersonRecord table with more data using a Numbers table (please see article http://www.sqlservercentral.com/articles/TSQL/62867/ [/url]for Numbers table)
insert into...
November 12, 2008 at 9:31 am
Adam Haines (11/12/2008)
This type of query can be handled much easier in SQL 2005, but I would still try to avoid a correlated subquery in SQL 2000. You...
November 12, 2008 at 7:57 am
Viewing 15 posts - 136 through 150 (of 242 total)