Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

SQL SSRS Issue

$
0
0

Hi there,

I am having an issue as follows when compiling a report: -

1) Data provided by a Third Party has dates supplied in the field
data_claim.claimlossdate as VARCHAR. When I try to use this data against my @Start and @End parameters within my report I am given the error: -

Cannot Read the next data row for the dataset dataset1.
The conversion of a varchar datatype resulted in an out of range value.

I have therefore used the following to convert my VARCHAR to datetime: -

CONVERT(DATETIME,data_claim.ClaimLossDate, 103)

But I am still receiving the same error when I run my report. (My Parameters @Start and @End are both set to Date/Time types.)

Any suggestions as to what I am doing wrong and how this can be corrected?

Many thanks


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>