Viewing 10 posts - 1 through 10 (of 10 total)
I'm still having issues in connecting to an Informix database on a 64 bit server using the ado.net drivers. My SSIS package isn't able to convert nvarchar data to...
November 29, 2011 at 12:23 pm
This is the update
IF @END_STEP_CODE= '133'
BEGIN
IF @START_STEP_CODE = '132'
BEGIN
UPDATE #COMPLETE
SET START_ACTUAL_COMPLETION_DATE = CASE
WHEN @START_ACTUAL_COMPLETION_DATE > @PREV_END_ACTUAL_COMPLETION_DATE THEN
@START_ACTUAL_COMPLETION_DATE
ELSE DATEADD(DD,1,@PREV_END_ACTUAL_COMPLETION_DATE)
END
FROM #COMPLETE c
WHERE
c.loan_id= @END_LOAN_ID and
c.step_code =...
June 14, 2011 at 2:26 pm
My question is what would cause the DYNAMIC cursor to continue to act as a READ ONLY cursor and continue to read the tempdb resultset? I didn't see a...
June 14, 2011 at 2:10 pm
Here is the temp table ddl
CREATE TABLE #complete
(LOAN_ID varchar(13),
step_code varchar(3),
start_actual_completion_date datetime,
end_actual_completion_date datetime
)
INSERT #complete
(loan_id,
step_code,
end_actual_completion_date
)
SELECT
LOAN_ID,
STEP_CODE,
ACTUAL_COMPLETION_DATE
FROM dbo.fct_foreclosure_step...
June 14, 2011 at 2:06 pm
It's not so much using a cursor to do an update, but rather finding the starting record that matches the end record and finding any overlaps in the actual completion...
June 14, 2011 at 2:00 pm
I'm trying to find out why the updated records are still in the fetch next of the START cursor after they RECORD_READ is set to 1. I removed the...
June 14, 2011 at 1:47 pm
This did the trick
FileCount = CType(Dts.Variables("varFileCount").Value, Integer)
FileCount += 1
...
September 25, 2009 at 9:31 am
I'm getting an error that says Option Strict On disallows implicit conversions from 'Object' to 'Integer'.
How do I convert the object to an integer?
September 25, 2009 at 9:25 am
I have added the varFileCount to the readwritevariable, and I'm updating the counter using this code
...
September 25, 2009 at 8:39 am
I'm simply trying to increment the counter, but it resets to zero with each new file. I'm using the file enumerator in the foreach loop and it's just the...
September 25, 2009 at 7:32 am
Viewing 10 posts - 1 through 10 (of 10 total)