Viewing 15 posts - 16 through 30 (of 33 total)
Hi ,
here is the attached data.
I want to use 1st three columns as composite key to update endate column.
August 11, 2010 at 2:06 am
I dont have identity column in the table .
I am using cursor as the data is large .
so do i need to create table variable in cursor ?
Actually i am...
August 10, 2010 at 5:29 am
I have already done this but thats not the answer.
I want
PREVIOUS DAY OF STARTDATE OF CODE 2 SHOULD BE ENDDATE OF CODE 1
Check the sample output please.
August 10, 2010 at 4:54 am
Hi ,
Here is the sample data .
Enddate is currently null .
What i want is the endate of 1st row should be the yesterday (from startdate ) of 2nd row .
2009-01-01...
August 10, 2010 at 4:08 am
HI ,
I tried this ..
select tarief ,left(Tarief,len(Tarief)-2)+'.'+right(Tarief,2) from Temp
Its giving result as well as msg as
"Invalid length parameter passed to the LEFT or SUBSTRING function."
Whats wrong with this...
August 10, 2010 at 1:42 am
HI ,
It is replicating last two nos.
I dont want it like this .
I want decimal before last two nos .
Thanks
August 10, 2010 at 1:30 am
Thanks
But the updated values should also come from flat file .
Means if the primary column matches then update 2nd column of the table with values from flat file .
Is...
July 30, 2010 at 8:45 am
Hi ,
Thanks Phil .
U are right. Its a fixed width file and i used ragged right format to exactly define the width of the column .
The problem is solved.
July 28, 2010 at 6:22 am
Thanks a lot !
You solved my problem..
July 27, 2010 at 6:09 am
I am giving you the example in the attached text file.
July 27, 2010 at 2:32 am
Error at Data Flow Task [Derived Column [134]]: Attempt to parse the expression "FINDSTRING((TRIM(STARTD_CVV), "-",1) > 0 ) ? NULL(DT_STR, 8,1252) : STARTD_CVV" failed. The expression might contain an invalid...
July 15, 2010 at 6:19 am
Viewing 15 posts - 16 through 30 (of 33 total)