--------------------------------------------------------------------------1 trunc (value,precision) intercepts a number by precision (precision) and does not perform rounding operations.2 round (value,precision) Enter a value based on the given
The following content mainly introduces the practical application of the ceil function in Oracle Database to evaluate the smallest integer greater than a certain number, the following is a detailed description of the actual operations. I hope you
Single-record functions in SQL
1. ASCIIReturns the decimal number corresponding to the specified character;
SQL> select ASCII ('A') A, ASCII ('A') A, ASCII ('0') zero, ASCII ('') space from dual;
A A zero space
------------------------------------
65
PL/SQL single-row functions and group functions
A function is a program with zero or multiple parameters and a return value. Oracle has a series of built-in functions in SQL, which can be called SQL or PL/SQL statements. functions are mainly divided
Single-record functions in SQL
1.ASCII returns the decimal number corresponding to the specified character;
Sql> Select ASCII (' a ') a,ascii (' A ') a,ascii (' 0 ') zero,ascii (') space from dual;
A A ZERO space
--------- --------- --------- ---
Oracle 9i provides a number of functions that can be used to assist in data queries. Next we introduce the commonly used function function and use method.
4.5.1 "Ceil" function
In the command edit area, enter select Mgr, Mgr/100,ceil (mgr/100) from
Working with Numbers in PL/SQL (use numbers in PL/SQL) This article gives you all the information you need in order to begin working with Numbers in your PL/SQL programs. numbers in PL/SQLPL/SQL offers a variety of numeric datatypes to suit
This article gives you all the information you need in order to begin working with numbers in your PL/SQL programs.Numbers in PL/SQL
PL/SQL offers a variety of numeric datatypes to suit different purposes:
Number. A true decimal datatype that is
MySQL Database Basics (iii)--sql Language I. Introduction to SQL 1. Introduction to SQL languageSQL is a Structured Query language (structured Query Language), which is the standard computer language for accessing and working with databases.The
Single-record functions in SQL1. ASCIIReturns the decimal number corresponding to the specified character;SQL> select ASCII ('A') A, ASCII ('A') A, ASCII ('0') zero, ASCII ('') space from dual;A A zero space------------------------------------65 97 4
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.