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

  • SEARCH
  • Home
  • 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 620525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:46:25+00:00 2026-05-13T18:46:25+00:00

I have query like this SELECT AVAILABILITY_DATE_TIME FROM APPT_PROVIDER_AVAILABILITY WHERE AVAILABILITY_DATE_TIME between @START_DATE AND

  • 0

I have query like this

SELECT AVAILABILITY_DATE_TIME FROM APPT_PROVIDER_AVAILABILITY
            WHERE AVAILABILITY_DATE_TIME between @START_DATE  AND @END_DATE 

suppose i have
if @startdate = ‘2/11/2010 11:31:00 AM’ and @enddate = ‘2/11/2010 11:56:00 AM’

then difference is zero its ignoring time part .

If you can provide query plz use

table name : APPT_PROVIDER_AVAILABILITY
, column name : AVAILABILITY_DATE_TIME

and @start_date and @enddate as params

Thanks in advance

  • 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-05-13T18:46:25+00:00Added an answer on May 13, 2026 at 6:46 pm

    It does not ignore the time portion.

    • Check your data- that you really do have a record in that range
    • Check your culture settings- that it’s not treating the string ‘2/11/2010′ as ’11/2/2010’ when converting it to a datetime
    • Change your parameter assignment. Even if your culture setting is right you should still use an unambiguous value for the assignment. Something more like this: 2010-02-11 11:31:00 AM
    • Check your parameter definitions, that you’re not using the newer ‘date’ type.
    • If all else fails, write it out in long hand: WHERE ([column] >= @startdate AND [column] <= @enddate)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 300k
  • Answers 300k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer private void menuFont_Click(object sender, EventArgs e) { if (fontDialog1.ShowDialog() ==… May 13, 2026 at 8:00 pm
  • Editorial Team
    Editorial Team added an answer For anybody who stumbles across this "answer," please note that… May 13, 2026 at 8:00 pm
  • Editorial Team
    Editorial Team added an answer Thanks to a nice #boost IRC user (mjcaisse), I have… May 13, 2026 at 8:00 pm

Related Questions

I have a query like this: SELECT TABLE_NAME, COLUMN_NAME, IS_NULLABLE, DATA_TYPE FROM MY_DB.INFORMATION_SCHEMA.COLUMNS WHERE
I have a query like this: SELECT t1.id, (SELECT COUNT(t2.id) FROM t2 WHERE t2.id
I have a query like this: SELECT lesson.id, p1.first_name, p1.surname, start_time, instrument.name FROM lesson,
I have a query like this: SELECT type.id, type.name, COUNT(*) AS tot FROM page
Say I have a query like this: SELECT * FROM my_table WHERE name =

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.