Viewing 15 posts - 21,496 through 21,510 (of 22,195 total)
No one is going to want to look at a report that has 43 columns, let alone 430 or 43000. You'd want to look at aggregating the data in some...
November 20, 2007 at 8:20 am
Ah, true. I thought we were dealing with only a few rows. If there are hundreds or thousands, this won't work well at all. As a matter of fact, if...
November 20, 2007 at 7:41 am
The 'FROM x' should be changed to 'FROM dbo.DATA_QUALITY_OVERVIEW_TOTALS_AND_PERCENTAGES' because X was just name of the test table that I cooked up to play with your data.
You can look at...
November 20, 2007 at 7:27 am
Oh heck, I misread. You do have an ORDER BY. Oops. Sorry for the bad info.
November 20, 2007 at 7:08 am
This is a slight modification of a Jeff Moden script:
DECLARE @SQLHead VARCHAR(8000)
DECLARE @SQLBody VARCHAR(8000)
DECLARE @SQLFoot VARCHAR(8000)
--===== Populate the variables using info from the table
SET @SQLHead =...
November 20, 2007 at 7:03 am
Well, basically, if you don't need a join, don't use one. Even if there are no rows, the engine needs to look at the table to determine the fact that...
November 20, 2007 at 5:58 am
Funny, I was just reading about this, you can't use the TOP without an ORDER BY in that situation.
November 20, 2007 at 5:53 am
I guess I'm wrong, but I thought that the TOP operator strictly applied to what was returned to the client, not what was actually processed on the server. It does...
November 20, 2007 at 5:45 am
TOP simply limits the results returned to the client. All processing that has to take place on the server to gather the result set is still done, single table or...
November 19, 2007 at 1:24 pm
The only thing I'm aware of that you can do by default is monitor file growth & shrinkage through Profiler. Maybe if you created a custom counter, but I'm not...
November 19, 2007 at 6:43 am
Looking through the query, it looks like you've got some design issues. You're doing joins between the billing & cancellation tables to a whole slew of other tables that all...
November 19, 2007 at 5:38 am
I don't have a clue. Would the ANTS Profiler from Red Gate work?
November 16, 2007 at 1:10 pm
If just the tools supplied by SQL Server, sp_depends or sys.sql_dependencies, are not enough, you migh also want to consider looking at Red Gate's SQL Dependency Tracker
November 16, 2007 at 11:32 am
In order to really provide an answer, a lot more detail would be needed regarding what the data structure looks like. It could be something as simple as providing an...
November 16, 2007 at 10:59 am
Great. Thanks for the reply.
I should have looked at the INSERT statement. Missed it. That explains things nicely.
November 16, 2007 at 8:05 am
Viewing 15 posts - 21,496 through 21,510 (of 22,195 total)