Viewing 15 posts - 61 through 75 (of 88 total)
Eric M Russell (2/23/2011)
TravisDBA (2/23/2011)
February 23, 2011 at 6:43 pm
UMG Developer (2/18/2011)
lnoland (2/18/2011)
UMG Developer (2/18/2011)
February 18, 2011 at 5:14 pm
UMG Developer (2/18/2011)
I see you basically came up with the same solution as mine, but you didn't alias the tblCaseLog table in your NOT EXISTS query, so it is ambiguous...
February 18, 2011 at 5:05 pm
tacy.highland (2/18/2011)
February 18, 2011 at 4:51 pm
ron.richardson (2/1/2011)
Query:
SELECT DISTINCT TOP 10
s.sale_key,
fc.freight_carrier_name,
isnull(os.freight_charges,0),
isnull(os.weight,0)...
February 4, 2011 at 5:30 pm
ntran777 (1/26/2011)
January 27, 2011 at 10:28 am
dlam 18073 (1/24/2011)
January 25, 2011 at 10:00 am
dlam 18073 (1/23/2011)
Related question about the code below
select *
from tblCallLog r
Where DateCall =
(
...
January 24, 2011 at 12:01 pm
dlam 18073 (1/20/2011)
DateCall >=@callFrom and DateCall < @callTo
<<< does this part of code already set the range of dateCallwithout
not exists
(
select 1
FROM tblCallLog
WHERE phNu=r1.phNu
AND DateCall > @callTo
)
also it select all...
January 21, 2011 at 11:33 am
dlam 18073 (1/20/2011)
so DateCall >=@callFrom and DateCall < @callTo
is alreadly set the rang,
one thing here iam not understand, do...
January 20, 2011 at 6:21 pm
dlam 18073 (1/19/2011)
tblCallLog
id (int, not null)PK
DateCall(datetime, null)
logStatus(nchar(10), null)
phNu(int, not null)
pplName(nchar(100), null)
id, DataCall, logStatus, phNu, pplName
400123, 2011-01-10 15:15:00.000, n, 31695555, b johnson
400124, 2011-01-10 15:16:00.000, b,...
January 20, 2011 at 4:43 pm
GSquared (1/13/2011)
For all practical purposes, the clustered index IS the table. If you update anything in the table, it has to update the clustered index.
I thought, perhaps, that was...
January 13, 2011 at 12:21 pm
zlthomps (10/21/2010)
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
CREATE TRIGGER [EquityLeadDeDup]
ON [dbo].[WebLead]
INSTEAD OF INSERT
AS
BEGIN
SET NOCOUNT ON;
DECLARE @EQ_CID INT,
@EQ_MsgDate SMALLDATETIME,
@EQ_ToAddress VARCHAR(64),
@EQ_LeadType INT
IF EXISTS(
SELECT
...
October 26, 2010 at 7:23 pm
Jeff Moden (10/24/2010)
October 25, 2010 at 9:31 am
GSquared (3/31/2010)
Gift Peddie (3/30/2010)
This is one of the things which so bothers me about software patents on generic techniques. If, as is often the case, it is something which is...
April 2, 2010 at 2:41 pm
Viewing 15 posts - 61 through 75 (of 88 total)