Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8917877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:36:07+00:00 2026-06-15T05:36:07+00:00

Here is my query: SELECT [Entry No_], [Currency Code], [Posting Date], SUM([Credit]), SUM([Debit]) FROM

  • 0

Here is my query:

SELECT [Entry No_], [Currency Code], [Posting Date],
       SUM([Credit]), 
       SUM([Debit])
FROM   Db
WHERE  [Posting Date] >= (@DateFrom) 
       AND [Posting Date] <= (@DateTo)
GROUP BY [Entry No_], [Currency Code], [Posting Date] 

The [Posting Date] (which gives an error) is a datetime. My report works in Visual Studio, but when deployed on the Reporting Server:

The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value.

I have tried setting the dateformat like suggested:

set dateformat ymd 

With no success. I’ve also tried setting Enable Remote Errors to True.

Any ideas on what to try next?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T05:36:09+00:00Added an answer on June 15, 2026 at 5:36 am

    enter image description here

    Found the error.
    In MS BIDS the parameters “data type” is automatically set to “Text”.
    Changing it to “Date/Time” did the charm.

    I think it´s kinda odd that the parameter data type does not automatically change to what the column is set to in the database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's my query SELECT * FROM wp_postmeta WHERE meta_value LIKE '.$_POST['username'].' AND meta_value LIKE
Here is my query Select Gender from Table The result pane shows 1 1
Here is my Query : select EmployeeName, EmployeeSalary from Employee2 for xml path('EmployeeDetails') returns
Here is my query select t1.*, t2.name as customer, t2.name as vendor from order
Here is my query select * from table1 inner join table2 on table1.typeId=table2.typeId; This
here is the query SELECT * FROM customers WHERE NOT EXISTS ( SELECT 1
Here is my SELECT query: SELECT a.id_auto, SUM(pozicane_dni * a.poplatok_denny + najazdene_km * a.poplatok_km)
Here is my sample query: SELECT userid,count(*) FROM hits GROUP BY userid My table
Here's the query: SELECT COUNT(*) AS c, MAX(`followers_count`) AS max_fc, MIN(`followers_count`) AS min_fc, MAX(`following_count`)
I can't figure out what I am doing wrong with my query here. SELECT

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.