The shell script is used to export the DB2 database table to a file, and in another blog post, Java code calls the shell script and passes in the parameter implementation DB2 database table export to a file to invoke the script and pass in the
DB2 built-in functions are really a lot, it is almost impossible to master each function, so this article is not intended to describe the specific use of each function, but rather to provide an overview of the functions of each function, so that
DB2 function An example of an explanation function for a function name function AVG () returns the average of a set of values. Selectavg (SALARY) Frombsempms; CORR (), CORRELATION () returns the relationship coefficient of a pair of values. SELECT
The db2 Tutorial we are reading is: DB2 common dummies 1000 (6 ). 149. ATAN2 ()Returns the arc tangent of the angle X and Y coordinates in radians.SELECTATAN2 (0.5, 0.9) FROMBSEMPMS; 150. BIGINT ()Returns the 64-bit integer representation of a
The db2 Tutorial we are reading is: DB2 common dummies 1000 (6 ). 149. ATAN2 ()
Returns the arc tangent of the angle X and Y coordinates in radians.
SELECTATAN2 (0.5, 0.9) FROMBSEMPMS;
150. BIGINT ()
Returns the 64-bit integer representation of a
The db2 tutorial is: Daily maintenance Summary of IBM DB2 (9 ). 167. REPEAT (EXP1, EXP2)
Returns the string that EXP1 repeats EXP2.
SELECTCHAR (REPEAT ('repeat', 3), 21) FROMBSEMPMS;
168. REAL ()
Returns the single-precision floating-point
Looking at the DB2 tutorial is: DB2 common fool question 1000 Q (vi). 149.atan2 ()
Returns the tangent value of the x and y coordinates of the angle expressed in radians.
SELECTATAN2 (0.5,0.9) Frombsempms;
150.BIGINT ()
Returns a 64-bit integer
The DB2 tutorial you are looking at is: IBM DB2 Daily Maintenance Summary (ix). 167.REPEAT (EXP1,EXP2)
Returns the string that EXP1 repeats EXP2 times.
Selectchar (REPEAT (' REPEAT ', 3), Frombsempms;
168.REAL ()
Returns a single-precision
Common functions in DB2:
Function name
Explanation of the function numbers
Example
SUBSTR (EXP1,EXP2) SUBSTR (EXP1,EXP2,EXP3)
Returns the EXP1 string starting at EXP2, with a substring length of EXP3
SELECT
MySQL master database High Availability-Dual-master single-active failover Solution
Preface: (PS: Preface was added later when this article was modified.) Some bloggers raised some questions and opinions about this article and paid attention to it,
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.