MySql存储过程的问题 - .NET技术 / ASP.NET
-- --------------------------------------------------------------------------------
-- Routine DDL
-- --------------------------------------------------------------------------------
DELIMITER $$
CREATE DEFINER=`root`@`` PROCEDURE `new_routine`(
_startMonth int,
_Endmonth int)
BEGIN
DECLARE stmt VARCHAR(4000);
set @tablename='ClubActionLog'+@month;
SET stmt=CONCAT('Create Table ','@tablename','Select * from ClubActionLog Where LogMonth between _startMonth and _Endmonth');
set @selsql=stmt;
prepare s1 from @selsql;
execute s1;
DEALLOCATE PREPARE s1;
END$$
希望得到的结果是查询ClubActionLog表中LogMonth列在传进来的值之间的时候把创建一张新的表 并且把记录复制到一张新的表,新表的表名是原表表名加上本月月份
不过这个好象不能执行,希望各位高手帮我看看好吗
在线等!!!
顶,不懂
mysql有存储过程?
不懂 帮顶
这代码太奇怪
相关问答:
我已经按照教程上配置tomcat的server.xml
<Context path = "/POS" docBase = "POS" debug = "5" reloadable = "true" crossContext = "true" workDir = &quo ......
3个radioButton
一个Button
一个label
C# code:
protected void Button1_Click(object sender, EventArgs e)
{
string str = null;
RadioButton rdo=(RadioButton)sender;
......
就是一个按钮,点击之后打开对话框,然后选取图片。就这样上传。。
怎么实现。在网上搜到那么多的代码,全是很多的那种,不知道,看不下去。
所以在这里想请大哥大姐帮帮忙。
使用自带的fileupload控件可以实现 ......
各位大侠,我学习的是ASP.NET,想知道相关技术有哪些,就像JAVA EE中有struct sping jsp severlet 等,ASP.NET还有哪些些相关技术。
http://topic.csdn.net/u/20090914/21/af27de99-f0f3-4cfd-9379-13764f8ec6b1.ht ......
我用的是Godaddy的服务,使用
C# code:
HttpRuntime.UnloadAppDomain();
来重启程序会抛出异常,应该是权限不够,请教大家还有没有其他的办法?
using System.ServiceProcess;
public void ResetAsp ......