摘要: delimiter $$drop procedure if exists test_at $$create definer=root@localhost procedure test_at()begindeclare i2 int default 0;select count(*) into i2 from test_table;select i2;end $$delimiter;计算mysql表的函数,并且赋值给变量这里是把值赋给i2的 阅读全文
posted @ 2013-12-16 18:19 Kstyjobx!! 阅读(4216) 评论(0) 推荐(0) 编辑