Viewing 15 posts - 19,171 through 19,185 (of 26,490 total)
Started off making this harder than it was. here is the code I came up (also note how I set everything up, as this is how you should post...
August 14, 2009 at 10:20 pm
Duplicate post. Please don't post in multiple forums. You just fragment responses to your request for help that may result in duplicate work by others.
Please post replies here.
August 14, 2009 at 4:30 pm
What kind of error messages are you getting? It would help if you would provide the entire error message(s).
August 14, 2009 at 3:40 pm
This isn't the article I was thinking about, but it would definately be one worth reading for your project as well:
http://msdn.microsoft.com/en-us/library/ms345146(SQL.90).aspx.
August 14, 2009 at 3:25 pm
Going to say it again, you are going to need a rolling window partitioning for what you are trying to accomplish. Based on what I am seeing you want...
August 14, 2009 at 3:22 pm
jim.rasmussen (8/14/2009)
DECLARE
@HMY AS INT,
@STARTDATE AS DATETIME
SELECT
@HMY = HMY,
@STARTDATE = DTSTART
FROM
MM2WODET
WHERE
DTFINISH IS NULL AND
DTSTART IS NOT NULL AND
HPERSON = @USERHMY
IF @HMY > 0
UPDATE MM2WODET SET
DTFINISH =...
August 14, 2009 at 2:09 pm
Deleted -- Gus's answer was more accurate.
August 14, 2009 at 2:04 pm
Jeff Moden (8/14/2009)
gah (8/14/2009)
Plase excuse my ignorance, but how much is a "crore"?does one "crore" represent ten million (10,000,000) ?
gah
From WikiPedia.com...
A crore (Hindi: ?????) (often abbreviated cr) is a...
August 14, 2009 at 2:00 pm
jim.rasmussen (8/14/2009)
When I execute this...select DATEDIFF("n",'08/14/2009 11:15',GETDATE())
the results is 195
when I execute this...
select DATEDIFF("n",'08/14/2009 11:15',GETDATE())/60
the result is 3, but 195/60 = 3.25
Why is this?
TIA
Jim
Integer math. change the 60 to...
August 14, 2009 at 1:55 pm
You need to lookup SAVE TRANSACTION in BOL (Books Online) You need to create a TRANSACTION SAVE point in the nested transactions if you want to be able to...
August 14, 2009 at 1:05 pm
Not sure what is going on with your system either. i just started up a job on my system that has multiple data flow tasks running in parallel, and...
August 14, 2009 at 1:00 pm
Interesting, I just checked on my x64 development server and there is an x64 version of DTExec and an x86 version of DTExec on the system.
August 14, 2009 at 12:53 pm
Looks like you may need to implement a sliding window on the table and write a few maintenace routines to implement what you are looking to accomplish. Not sure...
August 14, 2009 at 12:24 pm
jrw39 (8/14/2009)
August 14, 2009 at 11:35 am
Here is some code to help you get started. Hopefully the article I had published on sswug.org will be republished here on SSC sometime in September.
August 14, 2009 at 11:24 am
Viewing 15 posts - 19,171 through 19,185 (of 26,490 total)