Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
shilpash
Posting Yak Master
103 Posts |
Posted - 2012-05-18 : 10:49:04
|
| I have a paramter which takes date in mmddyyyy format.I put the logic to take muultiple values separated by comma.When I use this in ssrs,if i do select all then it throws an error conversion failed when converting date and time from character string.If i filter the paramter and allow it to take few dates ,report runs fine.But I really need select all and all the dates.Also these many dates I have for that varchar(max)--05/20/201109/26/201103/30/201109/03/201108/01/201108/29/201104/30/201105/30/201108/19/201105/02/201109/24/201108/15/201109/16/201103/03/201105/14/201109/02/201109/23/201103/28/201105/26/201109/28/201103/29/201105/09/201103/05/201109/09/201103/08/201109/17/201105/25/201105/06/201108/05/201108/06/201108/04/201103/23/201105/13/201108/09/201105/17/201109/07/201105/04/201109/06/201103/24/201108/03/201108/02/201103/25/201103/26/201109/15/201108/25/201105/10/201108/27/201108/30/201103/14/201105/28/201105/21/201108/24/201108/13/201103/21/201108/16/201103/11/201109/10/201108/20/201103/15/201103/10/201103/22/201105/23/201109/08/201109/20/201108/22/201108/18/201109/30/201108/10/201109/01/201105/05/201103/18/201103/04/201109/27/201103/09/201105/19/201105/12/201109/22/201103/16/201109/14/201109/13/201103/07/201105/24/201105/27/201103/12/201108/12/201108/08/201108/26/201103/31/201108/17/201103/02/201109/19/201109/12/201109/29/201105/11/201105/03/201109/05/201105/16/201103/01/201105/07/201108/11/201103/17/201105/31/201109/21/201105/18/201103/19/201108/23/201108/31/2011So if i filter excluding november month,then repurt runs fine even if i do select all but if i do select all for these dates ,it throws an error.Please help.Thanks |
|
|
shilpash
Posting Yak Master
103 Posts |
Posted - 2012-05-18 : 10:50:23
|
| These dates are in drop drown box |
 |
|
|
Lamprey
Master Smack Fu Yak Hacker
4614 Posts |
Posted - 2012-05-18 : 11:29:04
|
| Is this all inside SSRS or are you calling a stored procedure or ?? |
 |
|
|
shilpash
Posting Yak Master
103 Posts |
Posted - 2012-05-18 : 11:30:10
|
quote: Originally posted by Lamprey Is this all inside SSRS or are you calling a stored procedure or ??
Calling from a store procedure |
 |
|
|
|
|
|