Viewing 15 posts - 3,721 through 3,735 (of 5,590 total)
Sure. Just know that this will cause more transactions in the log file, and since you were concerned about the size of that...
Since you're continually updating the tables until they...
August 4, 2010 at 7:55 am
I don't see anything wrong with it.
Another way would be:
declare @rowcount int
set @rowcount = 1
while (@rowcount > 0) begin
begin transaction
update top (10000) ...
set @rowcount...
August 4, 2010 at 7:36 am
In this case, all you need to do is reindex the clustered index - this will force the nonclustered indexes to be reindexed, since they depend on that.
August 4, 2010 at 7:27 am
Just remember that using a function on a field in the left-hand side of an expression will mean that you can't utilize an index to do a seek....
August 4, 2010 at 7:15 am
ColdCoffee (8/3/2010)
August 4, 2010 at 7:10 am
ColdCoffee (8/3/2010)
WayneS (8/3/2010)
ColdCoffee (8/2/2010)
Also i remember a thread...
August 3, 2010 at 8:45 pm
Matthew,
Realize that a function like this is going to be called for every record in the result set. It would probably be better to add a column to the output...
August 3, 2010 at 8:36 pm
I think you're close. You might want to consider this...
Create a small table of the month # and starting/ending dates:
IF OBJECT_ID('tempdb..#TestTable') IS NOT NULL DROP TABLE #TestTable;
CREATE TABLE #TestTable (MonthNbr...
August 3, 2010 at 8:19 pm
bt, this looks promising. I don't really care about the speed - it's a one-off thing.
I just need to identify all the code with dynamic sql.
I'll try it out tomorrow,...
August 3, 2010 at 5:29 pm
Well, since Steve asked for opinions on one topic, let me broach another topic.
What do you'll think about this[/url]? Is there a valid point? Are the people screaming about it...
August 3, 2010 at 11:21 am
Grant Fritchey (8/3/2010)
Greg Edwards-268690 (8/3/2010)
So totally off topic -Hope those in the northern regions have clear skies for the possilbe light show tonight.
Greg E
Ditto. We'll be out at a Scout...
August 3, 2010 at 11:19 am
Stefan Krzywicki (8/3/2010)
WayneS (8/3/2010)
Steve Jones - Editor (8/3/2010)
Since this is the water cooler, any comments?http://abcnews.go.com/US/ground-mosque-plan-stirs-controversy/story?id=10670631
There's a quote in this article that sums up my feelings:
"On the one hand, stopping...
August 3, 2010 at 9:18 am
Steve Jones - Editor (8/3/2010)
Since this is the water cooler, any comments?http://abcnews.go.com/US/ground-mosque-plan-stirs-controversy/story?id=10670631
There's a quote in this article that sums up my feelings:
"On the one hand, stopping a mosque from...
August 3, 2010 at 8:38 am
It's could be data loaded in from an excel spreadsheet. Tabs in excel need to be referenced with a trailing $.
August 3, 2010 at 8:29 am
Viewing 15 posts - 3,721 through 3,735 (of 5,590 total)