Viewing 15 posts - 76 through 90 (of 127 total)
Thanks all for your reply, I have tried summarising the information into tables, but what I find out is that there are so many users who can run different kind...
September 5, 2006 at 4:00 pm
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|--Assert(WHEREIf ([Expr1003]<'Aug 30 2006 12:00AM' OR [Expr1003]>='Aug 31 2006 12:00AM') then 0 else NULL))
|--Table Insert(OBJECT[DB].[dbo].[CompanyProfile]),...
September 4, 2006 at 12:12 pm
I will get the execution plan out to you in a minute. please bear with me
September 4, 2006 at 11:46 am
what what do you think about the indexes on the Ignore Dupe keys, I know thats where the problem lies, I am not sure if I am using the right...
September 4, 2006 at 11:37 am
Thanks for this, worked a treat
September 4, 2006 at 11:27 am
I hahve tried print screen, not working with the server, i really wanted to show you that nsert that took 1.30 hours.
But I just cant get the execution plan out,...
September 4, 2006 at 10:35 am
The last insert which I monitored via QA, its shown here graphically, not sure how i can send it.
As the code is withing a Cursor, I cannot use the code...
September 4, 2006 at 10:07 am
On the #ProfileTemp table, the date is likely to be all thesame, but at thesame time, converting to a char means that all dates will be covered.
eg: comparing 2006/09/04 to...
September 4, 2006 at 9:47 am
anytime i done a test run to see the execution plan, I does an index seek/Clsutered index seek.
The reason why: RTRIM(Convert(Char(10), p.SeizeDate , 112 )) = '20060830'
is there is because...
September 4, 2006 at 8:58 am
INSERT INTO DailyFeed' + @DateYYYYMMDD + '
(
tbMRFileStatus_id,
CDRFingerPrint,
EventType,
StartDate,
StartTime,
UserProvCPN,
RouteIg,
RouteOg,
CalledPN,
CallingPN,
ElapsedTime,
ContCalledNum,
CallRedirInd,
CalledPNType,
TelServInd,
SwitchName,
TypeOfCall,
Termination_Date,
Location_id,
...
September 4, 2006 at 12:17 am
I also forgot to mention, the table that its inserting into only has the Ignore Duplicate key, no clustered index or any other type of index.
The order by after the...
September 3, 2006 at 12:53 am
I changed this and even ordered the way the insert was done from the temp table. Still some isnerts take almost an hour and we are talking of less than...
September 3, 2006 at 12:51 am
The keys in question here, one is of a varchar data type which should always be unique, the other is of an int data type and the last one is...
August 30, 2006 at 11:58 pm
There is need to do multiple inserts as different files needs to be loaded onto the database, we dont have any other replication method.
The datatime column is being converted so...
August 29, 2006 at 1:17 pm
DDL
S_id int
Event int
UNIQUE_PERSONURN char
sDate Datetime
alter table #temp add constraint idx_pku Primary Key Clustered( SDate , Event , UNIQUE_PERSONURN)
Then Bulk insert happens in this order
August 29, 2006 at 12:29 pm
Viewing 15 posts - 76 through 90 (of 127 total)