Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Please need help with date format

$
0
0

Hi All,

I have a SSRS Report. The data source is a stored procedure. It is using two date parameters "FromPurchaseDate" and "ToPurchaseDate".

When i execute the SP and enter the date as '08/26/2016' and '08/27/2016' i get data.

In the report when i right click on the dataset and query and try to execute the stored procedure and enter the same date range am getting the error:

TITLE: Microsoft SQL Server Report Builder
------------------------------

An error occurred while executing the query.
Failed to convert parameter value from a String to a DateTime.

------------------------------
ADDITIONAL INFORMATION:

Failed to convert parameter value from a String to a DateTime. (mscorlib)

------------------------------

String was not recognized as a valid DateTime. (mscorlib)

------------------------------
BUTTONS:

OK
------------------------------

In my stored procedure i have a convert and declared the dates as DATE

Any idea why this is happening

Please need help.

Thanks


Viewing all articles
Browse latest Browse all 10045

Trending Articles