Viewing 15 posts - 91 through 105 (of 184 total)
There are rows which do not contain the 3 letter character representation of a week day at characters 2 through 4. They are:
'[Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache...
April 22, 2010 at 7:14 am
Why does the clustered index improve performance. More specifically, what is the clustered index doing that is different? I will try this once I get into work.
Also Jeff Moden earlier...
April 22, 2010 at 12:26 am
How did you replace my indexes with a clustered index? Were they added to the apllication and user table?
April 22, 2010 at 12:17 am
there are indexes on the Application and User Tables. My previous post has all the structures and sampl data which i should have posted initially.
April 21, 2010 at 11:44 pm
I have now added sample data along with all the code for tables and indexes etc. Hopefully this will make things clearer
---tables
CREATE TABLE [stg_LogFiles] (
...
April 21, 2010 at 11:34 pm
my tables are:
---index
CREATE
INDEX [IX_FirstFour] ON stg_LogFiles ([Firstfour])
WITH
DROP_EXISTING
ON [PRIMARY]
---tables
CREATE TABLE [stg_LogFiles] (
[LineRead] [varchar] (100) COLLATE Latin1_General_CI_AS NULL ,
[Importeddate] [datetime] NULL CONSTRAINT [DF__stg_LogFi__Impor__5441852A] DEFAULT (getdate()),
[Firstfour]...
April 21, 2010 at 9:34 am
I created the computed column and the index on that column. The computed column is as follows
--Add Computed Column
ALTER TABLE MyTable
ADD comp_column AS substring(LineRead,2,4) varchar
--Create Column
CREATE INDEX IX_COMPColumn ON...
April 21, 2010 at 8:38 am
If i add the computed colum presumably the index to create is a non clustered index?
April 21, 2010 at 12:12 am
Hey, thanks guys for your help. I actually decided to to look into the execution plan myself and try and work something out. I have managed to get it down...
April 19, 2010 at 7:15 am
Sorry about the post. I am doing a thousand things at once. I have reposted the execution plan with hopefully the right infoemation. Excuse me for making mistakes as I...
April 15, 2010 at 5:47 am
Apologies for the double posting of this topic and any other confusion. Initially I was testing this in a sql 2000 environment which is why there is an original post...
April 15, 2010 at 2:35 am
I have included a rtf file showing the graphical representation of the execution plan.
Regards
April 14, 2010 at 12:12 pm
I managed to solve this myself. The DO command had to be on the same line as the for /f "tokens = 1,2,3".....
Regards
Sauce1979
April 14, 2010 at 3:55 am
Viewing 15 posts - 91 through 105 (of 184 total)