Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format a number

Status
Not open for further replies.

FunkyBunch

Instructor
Sep 11, 2007
35
CA
Hello All,

I am trying to format a date to have no decimals. I am not sure if there is a function I can use.

Select weightulw_fw --want to show with no decimals
from vehicles

Thanks y'all
 
Run this...

Code:
Select Data_Type 
From   Information_Schema.Columns
Where  table_name = 'vehicles'
       And Column_Name = 'weightulw_fw'

Post the response here. Essentially, the answer to your question depends on the data type.

-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Also, would help to show a sampling of your date values.

-SQLBill

The following is part of my signature block and is only intended to be informational.
Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top