Viewing 15 posts - 616 through 630 (of 662 total)
December 2, 2002 at 6:01 pm
Then it's a "min" versus a "top 1 order by desc"
If you have time, which IO is the the least expensive.
(I also like Joe Celko smarties)
December 2, 2002 at 4:56 pm
/* Hope this helps */
Select t.*
From MyStats t
Inner join (Select Convert(Char(7),Stat_Date,111),Max(Session_Count)
...
December 2, 2002 at 4:14 pm
Notice you use a left join?
Any value in custsatisfaction that's not contained in #Responses?
First statement counts all custsatisfaction records and second statement consider only records which links with custsatisfaction.
Any NULLS?
November 27, 2002 at 2:54 pm
Declare @SList Varchar(1400),
@SFor Varchar(100)
-- Assumption |(pipe char) never in data!!!
Set @SList = '|joe|john|jay|'
Set @SFor='john'
Select Case When CharIndex('|'+@SFor+'|',@SList)>0
...
November 27, 2002 at 2:25 pm
How about triggering a scheduled job to run which can do the work and allows the trigger to return. Up scaling maybe a problem if trigger is slow!
November 25, 2002 at 12:38 pm
Out of curiosity, are you doing anything special with / in the event log!
November 18, 2002 at 1:42 pm
Rational -> http://www.rational.com/index.jsp?SMSESSION=NO spring to mind!
MS Visio!
November 14, 2002 at 8:14 pm
Should have an if UPDATE(column) in the update trigger. Only do the check if LinkId was changed.
November 12, 2002 at 3:49 pm
-- Hope this helps a bit
Set NoCount on
GO
Create table Table1 (ID int identity(1,1) not null primary key, SomeText varchar(10) not null, LinkID int not null default -1)
go
Create Trigger InsertTrigger on...
November 12, 2002 at 3:32 pm
Using something similar.
Created a user for the database and supply username/password in bcp command string.
November 4, 2002 at 2:00 pm
Try the article at http://www.topxml.com/java/articles/clientside/
October 31, 2002 at 8:09 pm
Select DB_ID(),DB_Name()
October 30, 2002 at 6:48 pm
Viewing 15 posts - 616 through 630 (of 662 total)