Viewing 15 posts - 316 through 330 (of 347 total)
I am trying to reuse the ssis package from this link :
But if I use a different excel file name or change the variable value from '01$' to...
August 30, 2010 at 7:45 am
The following query
SELECT DISTINCT A.Class,
CAST( CONVERT( CHAR(8), A.Origdate, 112) AS DATETIME),
SUM(A.totalpaid) As AmtPaid
FROM dbo.ad A
where CAST( CONVERT( CHAR(8),A.Origdate, 112) AS DATETIME)>= '6/21/2010' AND CAST( CONVERT( CHAR(8),A.Origdate, 112) AS DATETIME)...
June 25, 2010 at 1:54 pm
If I use the query below
SELECT DISTINCT A.Class,
CAST( CONVERT( CHAR(8), A.Origdate, 112) AS DATETIME),
SUM(A.totalpaid) As AmtPaid
FROM dbo.ad A
GROUP BY A.Class,CAST( CONVERT( CHAR(8), A.Origdate, 112) AS DATETIME),A.totalpaid
HAVING CAST( CONVERT( CHAR(8), A.Origdate,...
June 25, 2010 at 1:27 pm
I am getting the following error :
Column 'dbo.ad.origdate' is invalid in the HAVING clause because it is not contained in either an aggregate function or the GROUP BY clause.
June 25, 2010 at 1:19 pm
I have also used the query below
SELECT DISTINCT A.Class,
A.Origdate,
...
June 25, 2010 at 12:44 pm
Sorry, the replace should have been like this
strXML = strXML.Replace("</a>", "<"/a"> ");
strXML = strXML.Replace("<acronym>", "<"acronym"> ")
November 19, 2009 at 8:35 am
Thanks I changed the XSD to <xs:element minOccurs="0" name="SubCategoryId" type="xs:unsignedInt" />
It worked . Thanks again.
November 17, 2009 at 3:27 pm
Also the error : [XML Source [1]] Error: The value was too large to fit in the output column "SubCategoryId" (3198).
November 17, 2009 at 3:13 pm
<xs:element minOccurs="0" name="SubCategoryId" type="xs:unsignedByte" />
November 17, 2009 at 2:44 pm
I tried to change it to DT_UI4 . But it did not help either . I couldnot change it to DT_STR . "Invalid value" error shown .
November 17, 2009 at 2:26 pm
I followed what you suggested . But the SubcatId in the Output columns shows a datatype of numeric[DT_NUMERIC] and the length is disabled . So I couldnot change to something...
November 17, 2009 at 1:57 pm
Viewing 15 posts - 316 through 330 (of 347 total)