摘要: declare @tname varchar(8000) set @tname=''select @tname=@tname + Name + ',' from sysobjects where xtype='U'select @tname='drop table ' + left(@tname,len(@tname)-1) exec(@tname) --删除所有存储过程的sql语句 用到游标 declare @procName varchar(500) declare cur cursorfor select [name] fr 阅读全文
posted @ 2012-10-25 18:21 我在这 阅读(400) 评论(0) 推荐(0)
摘要: input的radio类型,跟checkbox不同,在选中状态下,不能通过再次点击来取消选择。最近在工作中却遇到这样的需求,通过jquery实现了一下。假设表单如下:<form name="mainForm" action="tt.php"> <input type="radio" value="large" name="size" tag="0"/> <input type="radio" value="middl 阅读全文
posted @ 2012-10-25 18:18 我在这 阅读(4336) 评论(0) 推荐(0)