Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我输入了:
DELIMITER DELIMITER
只是想弄清楚如何将我的分隔符设置为正常的';' 再次;
一旦您设置了不同的分隔符,所有查询语句都将期望使用该分隔符
delimiter delimiter select * from users ; // This would do nothing
但
select * from users delimiter
将列出用户,因为一旦遇到delimiter您定义的分隔符,该语句将被执行。
delimiter
要返回,您需要使用
delimiter ;