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 8575239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:38:55+00:00 2026-06-11T19:38:55+00:00

I m looking for basic SQL query in SQL Server 2008 number Result —–

  • 0

I m looking for basic SQL query in SQL Server 2008

number   Result 
-----    ------
 0.38     0        (As it is less than 0.5)
 2.66     3        (As it is more than 2.5)
 3.8      4        (As it is more than 3.5)
 11.97    12       (As it is more than 11.50)

I’m not getting how to get it fix for using trunc, floor and other such method

Any help would be helpful.

Thanks !!!!

  • 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-11T19:38:56+00:00Added an answer on June 11, 2026 at 7:38 pm

    I think you want something similar to this:

    SELECT number, ROUND(number,0) as Result FROM Table_name
    

    check this SQL ROUND() Function and This for more info.

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

Sidebar

Related Questions

I am using SQL Server 2008. I am trying to do some basic math
I'm not really looking for a basic SQL guide but just something specific to
I need to transfer a large number of rows from a SQL Server database
Need some help with what is probably a pretty basic SQL query. I'm trying
I have a basic recursive table setup in SQL 2008 with the following structure:
I'm planning a data warehouse migration to SQL Server 2008, and trying to think
I'm looking at changing our Auditing process for our SQL Server 2005 databases and
Hi there I'm really struggling getting the following sql query to work, i apologise
I'm building a pretty basic table editor for an SQL Server DB in C#;
I am looking for something that works in SQL Server similar to the @

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.