Let's go
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 58 下一页
摘要: 目录 1.视图 2.存储 3.函数 4.触发器 5.游标 6.索引 8.事务 一. 视图(视图名:View_Test 表名:Tab_Test) --判断是否存在-- if exists (select * from sysobjects where name = 'View_Test') drop 阅读全文
posted @ 2019-12-26 16:55 chenze 阅读(396) 评论(0) 推荐(0)
摘要: js获取当前日期: var ayear = new Date().getFullYear(); // 获取当前年 var amonth = new Date().getMonth() + 1; //获取当前月 var aday = new Date().getDate(); //获取当前天 1:js 阅读全文
posted @ 2019-12-18 19:46 chenze 阅读(3528) 评论(0) 推荐(0)
摘要: 1. //表头跟踪固定(按钮与表头) var trObj = $("#zdy_id").find("tr:eq(3)");//自定义zdy_id,处于第3行 var trObjChild = $(trObj).children(); var topValue = 0; var trObj_hj = 阅读全文
posted @ 2019-12-17 14:19 chenze 阅读(747) 评论(0) 推荐(0)
摘要: 1.多条数据使用逗号隔开 select invoiceApplyNo,stuff((select distinct ','+incomePlanNo from T1 where a.invoiceApplyNo=invoiceApplyNo for xml path('')),1,1,'') AS 阅读全文
posted @ 2019-11-27 19:06 chenze 阅读(921) 评论(0) 推荐(0)
摘要: 看具体是什么数据库,以oracle,mysql,sqlserver分别回答。 1、oracle: select count(*) from user_tab_cols where table_name='表名';--表名含英文的话应为英文大写字母 结果如图: 2、mysql: select coun 阅读全文
posted @ 2019-11-20 13:12 chenze 阅读(7014) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 58 下一页
有事您Q我