Viewing 15 posts - 46 through 60 (of 662 total)
With reference to gljjr reply:
Will it make much of a difference if "REP.BS_BSREF = 318515 AND MT_DATE >= '2003-11-29 00:00:00.000'" is moved into the...
January 8, 2004 at 8:33 pm
In principle I'll rather stick to Allen_Cui solution.
Row 1 ColA='A' and ColB='A'
Row 2 ColA='AA' and ColB=''
set nocount on
if exists (select * from dbo.sysobjects where id =...
December 23, 2003 at 9:17 pm
Have a look at http://www.sqlservercentral.com/scripts/contributions/445.asp.
Need to add the fact that your are interested in ProductID only, not all foreign keys.
December 21, 2003 at 8:38 pm
Excellent idea!
Used to do a lot of Joe Celko puzzles for training purposes(1997).
Could not wait to get to work to compare their solution with mine!
December 21, 2003 at 12:19 pm
Any comments on the actual formal evaluation process of the applicants? Specially the first three seconds with the face to face interview!
December 18, 2003 at 2:38 pm
BOL 2000:
WITH TIES
Specifies that additional rows be returned from the base result set with the same value in the ORDER BY columns appearing as the last of the TOP n...
November 4, 2003 at 11:19 pm
Not the best/efficient solution but how about adding another column to the top/outer select ,(Select top 1 Sectioname from Table t1 where t1.duration=Min(Duration) and t1.col1=event.id) as MinDuration
Not the complete statement...
November 4, 2003 at 7:01 pm
You are more than welcome.
Any change of populating the table
October 30, 2003 at 6:05 pm
Have a look at the following url and select a country/zone.
October 30, 2003 at 3:56 pm
Viewing 15 posts - 46 through 60 (of 662 total)