摘要:--行列转换 drop table geovindu create table geovindu (ID int,ChangeName nvarchar(25),Number1 int,Number2 int) insert into geovindu select 1,'购物换领',10,1 un
阅读全文
摘要:/* create database geovindu; 两数据库之间的一个类似表,进行一个表的操作添加,修改时的同步操作的触发器操作 use geovindu; create database DuMap go use DuMap go -- Geovin Du,涂聚文 --Geovin Du,
阅读全文
摘要:--sql server 2012 及以上 SELECT * FROM BookKindList ORDER BY (SELECT NULL) OFFSET 0 ROWS FETCH NEXT 3 ROWS ONLY go -- geovindu Geovin Du 涂聚文 Declare @Pag
阅读全文
摘要:DROP TABLE IF EXISTS `dudept`; CREATE TABLE `dudept` ( `Id` int(11) NOT NULL AUTO_INCREMENT comment 'ID', `deptCode` varchar(10) CHARACTER SET utf8 CO
阅读全文
摘要:---https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_8003.htm drop user geovin; drop user geovindu; create user geovindu identified by ORCA; --oracle用户创建及权限设置 create user geovin ...
阅读全文
摘要:-- 统计 select count(*) as '当天记录数' from web_product where date(p_createtime) = curdate(); select count(*) as '当天记录数' from web_product where to_days(p_createtime) = to_days(now()); SELECT count(...
阅读全文
摘要:Since browser detection can be tricky and very slow, I compared a few packages.http://thadafinser.github.io/UserAgentParserComparison/v5/index.htmlhtt
阅读全文