当前位置:Gxlcms > 数据库问题 > MySQL 创建函数

MySQL 创建函数

时间:2021-07-01 10:21:17 帮助过:27人阅读

  1. delimiter $$
  2. create function myFunction()
  3. returns varchar(255)
  4. deterministic
  5. begin
  6. DECLARE totalCredits varchar(200);
  7. set totalCredits=‘大家好aa‘;
  8. return totalCredits;
  9. end$$
  10. delimiter

  

MySQL 创建函数

标签:var   creat   edit   mit   create   创建   ret   set   turn   

人气教程排行