Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

Fix

Example

Return the integer value of a number:

SELECT Fix(756.43AS FixNum;

Definition and Usage

The Fix() function returns the integer part of a number.

Syntax

Fix(number)

Parameter Values

Parameter

Description

number

Required: A numerical value

Technical Details

Works in:

 From Access 2000

More Examples

Example

Retrieve the integer portion of the values in the “Price” column.

SELECT Fix(Price) AS FixNum FROM Products;