There are a number of mysql functions, here are just a few of the commonly used functions. Math function abs (x) &NBSP ; //returns the absolute value of x Bin (x) //returns the binary of X (Oct returns octal,
65279; 65279; 1 connect to MYSQL server: mysql-uroot-p123456 to view Chinese issues showvariableslikecharacter %; 2 modify mysql character set, exit mysql prompt interface: mysql-uroot-p -- default_ch success
1. connect to the MYSQL server:
MySQL Study Notes 10 (MySQL functions)MySQL learning notes 10MySQL Functions
MySQL database provides a wide range of functions. MySQL functions include mathematical functions, string functions, date and time functions, conditional judgment functions,
MySql common functions such as mathematical functions and encryption functions bitsCN.com
MySql common functions, such as mathematical functions and encryption functions
There are many MySql functions. here we only list some common functions.
I.
3. mysql Chinese problems, database-level operations, table-level operations, data CRUD, grouping operations, time and date, string-related functions, and table ConstraintsBytes
1. Connect to the MYSQL server: mysql-uroot-p123456
View Chinese
Mysql common functions, difficulties, notes, and difficulties of mysql Functions
I. mathematical functionsABS (x) returns the absolute value of x.BIN (x) returns the binary value of x (OCT returns octal, HEX returns hexadecimal)
CEILING (x) returns
Absolute value function abs ()Pi (), decimal default 6 bitsSquare root function sqrt ()Find the remainder function mod (x, y)Rounding up Ceil (x), CEILING (x)Take down the entire floor (x)Random number rand (), rand (x): Generates floating-point
Use MySQL's own function to be cautious, say that it will affect the efficiency of data execution, the cost is too high. This also to distinguish between the reference category of fast software, such as the internal system business logic is more
Recently the project is very busy, the function that gives me is more complex, fortunately can cope with down. In the process of working, I found that the use of MySQL's own function can greatly reduce the complexity of the program. This is
DatabaseI. Database Overview (! Master)1. Database: Warehouse where data is stored (understanding)Hierarchical database, network-based database, relational databaseInstallation and configuration of 2.MYSQL databaseThe installed path does not have
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.