Viewing 15 posts - 481 through 495 (of 663 total)
This sounds more and more like the shopping basket analysis (OLAP).
Old example of beer and nappies.
May 7, 2003 at 3:15 pm
Try 1, not generic enough
Set NoCount on
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TResp]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[TResp]
GO
CREATE TABLE [dbo].[TResp] ([Resp] [char] (1) NOT NULL...
May 7, 2003 at 2:04 am
Try :
Select IsNull(gender,'None'), count(*) from ulist where status=1 group by gender
May 7, 2003 at 12:29 am
Should'nt a.STORE_ID be part of the join between the tables
May 5, 2003 at 9:38 pm
BOL 2000, explains differential backup. Search for "Differential Database Backups".
Maybe you should try and explain the severity of situation to the CEO again. Cost of losing data(disruption to business) versus...
May 5, 2003 at 9:03 pm
Previous solution on this site was
Select Top 20 *
From (Select Top 60 * from Table)
Order by Col1 Desc
A sp with @From and @To parameter.
May 5, 2003 at 7:14 pm
May 5, 2003 at 2:14 pm
Anyone using sp_cycle_errorlog and if why?
Have heard about a site with a 'BIG' errorlog which did not reset but otherwise never experienced any problems. The source of this info was'nt...
May 5, 2003 at 2:11 pm
Another penny, move the conditions from the WHERE clause into the ON clause. The IS NULL wont' be movable, I think.
May 5, 2003 at 2:05 pm
Agree with 'dbcc showcontig' and I think we also used 80% as a threshold.
May 5, 2003 at 2:01 pm
A bit of quick and dirty.
Enhanced from BOL 2000 example
DECLARE @idoc int,
@doc varchar(1000),
...
May 4, 2003 at 11:13 pm
Personally do not like distinct.
Results:
groupid TaskId Created ...
May 1, 2003 at 8:42 pm
Viewing 15 posts - 481 through 495 (of 663 total)