Viewing 15 posts - 15,931 through 15,945 (of 18,926 total)
We know that... the 2nd page of posts is all about that.
June 30, 2005 at 8:13 am
For everyone who thinks that table variables are kept in memory only :
DECLARE @Temp TABLE
(RowId int NOT NULL IDENTITY(1, 1),
Col1 varchar(20) NULL,
PRIMARY KEY CLUSTERED (RowId) )
Select * from @Temp...
June 30, 2005 at 8:12 am
Here's a sick idea :
IF EXISTS(SELECT name FROM sysobjects WHERE name = N'Test_LastBilledTable' AND type = 'U')
DROP TABLE Test_LastBilledTable
GO
CREATE TABLE [Test_LastBilledTable] (
[Customer_Id] [int] NOT NULL ,
[Last_Billed_Date] [datetime] NULL ,
[Job_Id]...
June 30, 2005 at 7:59 am
Glad to hear that.
Did you try my profiler proposition to see what the statement did look like?
June 30, 2005 at 7:50 am
I don't think so.
Maybe you should suggest it. I would do it but it wouldn't look to good
.
June 30, 2005 at 7:48 am
I didn't see this one... It's not because I didn't take my time
.
BTW my solution works
.
[EDITED]
Almost 3100 now
June 30, 2005 at 7:33 am
Tx. Now I can say I'm almost in range of Frank
.
June 30, 2005 at 7:31 am
I knew I was missing something... Much better solution
.
June 30, 2005 at 7:29 am
I'm glad I don't have to drink a lot recently
.
June 30, 2005 at 7:27 am
It's always simpler to document... assuming the guys read it. Makes better code anyways.
Hey Noeld, wanna race to 3k posts
?
[EDIT]
DAMN it...
June 30, 2005 at 7:26 am
Please stop using this syntax, it will be absolete in Yukon :
[Employee Name] = EMPLOYEE_NME,
June 30, 2005 at 7:23 am
First of all 60 days is not the same as 2 months, so I presumed that you needed 2 months back in the query.
Here it goes :
Select DISTINCT Customer_ID...
June 30, 2005 at 7:20 am
Damn I'm getting too slow for this
.
Gonna have to retire when I hit 3k.
June 30, 2005 at 7:08 am
Viewing 15 posts - 15,931 through 15,945 (of 18,926 total)