What is the role of delimiter in MySQL?
This command has nothing to do with the stored procedure.In fact, it is to tell the MySQL interpreter whether the command has ended and whether MySQL can be executed.By default, Delimiter is a semicolon;. In
http://my.oschina.net/zerotime/blog/113126MySQL command line when you create a stored procedure, you first enter a delimiterDELIMITER//CREATE PROCEDURE proc ()Begin......End//OK, you can create the completed.Show stored procedure commandsShow create
Reprinted: http://www.phppan.com/2010/05/mysql-delimit/
Delimiter problems encountered during the first MySQL storage write processI wrote the Oracle stored procedure a long time ago. Yesterday, due to some special reasons, I had to write some
MySQL user, library, table operation syntax about the user's syntax查看当前系统里的用户:select user,host from mysql.user;查看当前登陆的用户select user();创建用户语法:create user ‘用户‘@‘主机‘ identified by ‘密码‘;示例:create user ‘anuo‘@‘localhost‘ identified by ‘123‘创建用户并授权grant
MySQL常用指令,java,php程序员,数据库工程师必备。程序员小冰常用资料整理MySQL common commands (for reference)The most common display commands are:1. Display the list of databases.show databases;2. Display the data table in the library:Use MySQL;Show tables;3, display the
1. If the statement cannot be executed in this way, you need
If not exists (select * From information_schema. columns where table_schema = 'thc _ RCM 'and table_name = 'cs _ accountbilldetail' and column_name = 'shotitemid') Then alter table 'thc _
String functionsstring comparison functionsIf the length of the result is greater than the maximum value of the Max_allowed_packet system variable, the return value of the string value function is null. See section 7.5.2, "Tuning server parameters."
3.3.5 Create or delete the database directly in the database directory, just create a directory with the same name as the database under the MySQL data directory, and delete the database by deleting the directory. So, you can do this directly,
String function string comparison function if the result length is greater than the maximum value of the max_allowed_packet system variable, the return value of the string value function is NULL. See section 7.5.2 "Adjust server Parameters ".
String
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.