Viewing 8 posts - 1 through 8 (of 8 total)
Also, I tried using OLE DB Microsoft Jet 4.0 Provider connection to the CSV files folder with an OLE DB Source.
One strange problem i see here is,
The 2nd CSV file...
September 13, 2012 at 1:43 am
CREATE TABLE Test(
ColA [varchar](500) NULL,
ColB [nvarchar](500) NULL,
.
.
ColK [nvarchar](500) NULL,
)
I am getting NULL records inserted...
July 17, 2012 at 4:16 am
no it is nvarchar..
July 17, 2012 at 3:57 am
Thanks for your suggestions.
One thing i would like to add here is, the stored procedure returning the tabular data sets is locked and i don't have access to read/alter it.
June 20, 2012 at 4:02 am
i dont have access to RS DB.
November 2, 2011 at 5:54 am
use ISNULL function while doing the final substraction
@Daysleft = ISNULL(@TotalDays,0) - ISNULL(@DaysTaken,0)
July 5, 2011 at 10:23 pm
If my assumption is correct, the following code should work...
SELECT t_facility.source_system as System_ID,t_facility.last_modified,t_facility_valuation.amount
INTO #TEMP
FROM t_facility_valuation
INNER JOIN t_facility ON t_facility.facility_nr=t_facility_valuation.facility_nr
SELECT C.System_ID,C.last_modified
, SUM(C.amount) CurrentAmount
, SUM(P.amount) PreviousAmount
,SUM(C.amount)-SUM(P.amount) VarianceAmount
FROM #TEMP C
INNER JOIN...
July 4, 2011 at 5:54 am
Viewing 8 posts - 1 through 8 (of 8 total)