为质量而战!为胜利而战!

MySQL创建简单的存储过程

上一篇 / 下一篇  2009-06-16 11:35:41 / 个人分类:Oracle和DB2

1、启动:程序/MySQL Server 5.0/MySQL command line client
输入密码登录
2、查询当前数据库有哪些存储过程

mysql>showprocedurestatus where db='testTable'

3、创建一个简单的存储过程

mysql>create procedure hello() select 'helloworld';

4、调用存储过程

mysql>call hello();


TAG: procedure call

 

评分:0

我来说两句

日历

« 2024-04-26  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 50421
  • 日志数: 64
  • 文件数: 1
  • 书签数: 1
  • 建立时间: 2008-03-28
  • 更新时间: 2009-08-14

RSS订阅

Open Toolbar