Table of Contents

Search

  1. About the Data Vault SQL Reference
  2. Introduction to SQL Reference for Informatica Data Vault
  3. Date and Time Arithmetic
  4. WHERE Clauses
  5. UNION Operator
  6. Parameterized Query
  7. Functions

Data Vault SQL Reference

Data Vault SQL Reference

FLOOR

FLOOR

A math function that returns the largest integer that is less than or equal to the input expression.

FLOOR Syntax

FLOOR (double)

FLOOR Example

Input
Output
9.3
9
CREATE TABLE num_table (col1 DEC(5,2)); INSERT INTO num_table VALUES (9.3); 1 row affected SELECT FLOOR(col1) FROM num_table; 1 row selected 1 ---------------------- 9.00000000000000e+00

0 COMMENTS

We’d like to hear from you!