?
Solved

Problem with Reporting services - creatign a report Errors in SQL Statement

Posted on 2008-10-02
2
Medium Priority
?
185 Views
Last Modified: 2012-05-05
Hiya,

I am going around in circles here - I am trying to do a sql statement that takes the date that is greater than the Start date I choose and less than / equal to the finish date. I wrote the attached statement and it keeps failling please tell me where I am going wrong.

Under the parameters both parameters are set to Date / Time as type.

Thanks
SQL.JPG
0
Comment
Question by:mickinoz2005
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:LindaClaes
ID: 22711934
It's more readable if you would say AND date_entered BETWEEN @StartDate AND @FinishDate
0
 
LVL 5

Accepted Solution

by:
mickinoz2005 earned 0 total points
ID: 22872528
I deleted all parameters and re created them, there is a bug in SQL reporting that keeps appearing and the only solution seems to be to delete the parameters and recreate them.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question