Viewing 15 posts - 316 through 330 (of 515 total)
Without indexes this has no hope of performing better. Now in my other tests, the indexes were of no help because they slowed the process down signficantly on the...
October 1, 2007 at 7:07 am
I should be able to do some tests. I'll start with something like the following.
SELECT @Ctr = 1
WHILE(@Ctr > 0)
BEGIN
;WITH X (RN,StoredCalcDataID,AsOfDate,[Weekly_Type1]) AS (
...
October 1, 2007 at 6:24 am
This part of it can vary widely. It will update 100% of the rows that are extracted to the temp table in most cases. The temp table will...
September 29, 2007 at 3:51 pm
USE [master]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:Bob Fazio
-- Create date: 06/21/2007
-- Description:Function Returns a Date in the form of YYYYMMDDHHMISS
-- =============================================
alter FUNCTION [to_yyyymmddhhmiss]
(
-- Date Time to work with
@theDate...
September 27, 2007 at 2:59 pm
I'll agree with Matt here. It comes down to what are your entities and attributes here. And it sound like for your needs here are that for your...
September 27, 2007 at 2:44 pm
Sounds like more homework. Chiko what do you have so far? You have posted the question, but now why you are having trouble with this.
September 27, 2007 at 2:14 pm
Sounds to me like an exercise (Homework) to show a knowledge of how to write a trigger 😉
Sorry Lowell didn't catch you statement the first time.
Especially considering the...
September 27, 2007 at 1:49 pm
Also, you named named the procedure sp_ which in has special meaning. Is this in the MASTER database? Is this really what you want?
In general, you do this...
September 27, 2007 at 1:46 pm
alcohol 52% Free and easy. Share the image, and mount remotely.
September 27, 2007 at 1:26 pm
RN on base table doesn't work because of Day, Week, Month Gaps. I didn't show it, but I have to run through this 3x to update days, then weeks,...
September 27, 2007 at 11:28 am
I work in an office with about 30 people, and I am usually one of the first ones in the office in the morning. I will usually be the...
September 27, 2007 at 7:04 am
If blocking becomes an issue, I'll switch READ_COMMITTED_SNAPSHOT on. I have it enabled in most of my databases.
Not sure about read uncommitted as helping, but I could...
September 27, 2007 at 6:02 am
Jeff Gray (9/26/2007)
September 26, 2007 at 1:34 pm
Thanks for that, but as I said, this post isn't about tuning the query or the database for that matter. It looks like my only option is the MAXDOP...
September 26, 2007 at 1:32 pm
I agree that there doesn't appear to be any issues with the SQL. If this works in T-SQL, then it is probably a code issue. Are you sure this is...
September 25, 2007 at 6:03 am
Viewing 15 posts - 316 through 330 (of 515 total)