Viewing 15 posts - 151 through 165 (of 1,347 total)
>>actually doing just fine except for the 1 SELECT SQL that is running much slower on SQL Server
Is this SELECT hitting 1 or more of the tables that are also...
February 2, 2007 at 12:41 pm
Couple more comments/questions.
When you made the PKey nonclustered, did you make 1 of the alternate indexes clustered ? If not, that may actually worsen the situation and cause fragmentation. The...
February 2, 2007 at 11:00 am
There is a way to fix it, but it requires the business rules.
What does it *mean* to your business if there are 2 or more records in WorkExpense for the...
February 2, 2007 at 9:13 am
2 solutions:
1. Create a staging table. On every load, truncate the staging table, then perform the BULK INSERT to the staging table and not your permanent table.
Once data is in...
February 1, 2007 at 10:13 am
Some more questions then:
- Are there any triggers on the tables being inserted into ?
- Are there referential integrity constraints ? Are the tables containing the primary key side of these RI...
February 1, 2007 at 9:54 am
>>Hi, I don't know if there's a difference in the t-sql in 2005 and 2000
There is - the RANK OVER PARTITION is a T-SQL enhancement in 2005, which is...
January 31, 2007 at 1:26 pm
Have you confirmed that the data and/or log files are not auto-growing ?
If there is a percentage based growth increment, it could explain the gradually worsening performance, as each increment...
January 31, 2007 at 1:12 pm
Does the table being loaded to have many indexes ? Does it have a clustered index ? If it has a clustered index, does the data being inserted have a...
January 31, 2007 at 12:22 pm
When you post a vague question, without providing any DDL for the tables, without providing any details on indexes, without providing any details on data volumes, then the advice of "why...
January 31, 2007 at 11:55 am
Try the 2 queries with SHOWPLAN turned on.
They'll probably resolve to exactly the same execution plan.
[Edit] If you're working in SQL2K5 Management Studio, paste the SQL into a query window, highlight...
January 30, 2007 at 10:11 am
Doh. You are correct of course.
Mental note to self: no forum postings before 1st coffee of the day.
January 26, 2007 at 11:40 am
>>but it does not aggregrate (sum) the rows
Do the columns being SUM()'ed allow NULL ? Summing a NULL value along with other values always returns NULL as the SUM() result.
Also,...
January 26, 2007 at 9:26 am
Go to the website for winzip and download the optional winzip command line.
The executable "wzunzip.exe" is the command-line unzipper that can be easily called from an exec process task.
January 25, 2007 at 12:19 pm
Is the question about how to physically do the INSERT ?
Or is the question around how to schedule this ?
January 25, 2007 at 9:52 am
"It depends ..."
Updating 6mil records is not a specific enough description of the problem.
Width of records, number of data pages in the table ?
Type of application - OLTP with 24/7 availability...
January 24, 2007 at 10:53 am
Viewing 15 posts - 151 through 165 (of 1,347 total)