1. 首页
  2. 行业
  3. 互联网
  4. MySQL中创建函数时出现ERROR 1418

MySQL中创建函数时出现ERROR 1418

上传者: 2020-12-17 06:27:22上传 PDF文件 20.61KB 热度 38次
mysql> delimiter // mysql> CREATE FUNCTION Uf_new_product_id() -> RETURNS VARCHAR(32) -> BEGIN -> declare new_id varchar(32); -> set new_id = 'ID'; -> Return new_id; -> END -> // ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its
用户评论