2021年9月1日

sql server 数据行转表

摘要: 1 DECLARE @code NVARCHAR(500) 2 DECLARE @table TABLE 3 ( 4 code NVARCHAR(500) 5 ) 6 7 DECLARE myCursor CURSOR FOR 8 SELECT code from tablename 9 10 OP 阅读全文

posted @ 2021-09-01 09:13 木龙哥 阅读(103) 评论(0) 推荐(0) 编辑

2020年10月25日

sql 删除狐立帐户

摘要: declare @username nvarchar(50)create table #temp_user( username nvarchar(50), UserSID int) insert into #temp_user exec sp_change_users_login @Action=' 阅读全文

posted @ 2020-10-25 20:04 木龙哥 阅读(158) 评论(0) 推荐(0) 编辑

2020年8月24日

Azure Sql

摘要: 1.创建用户-- -- Create User as DBO template for SQL Azure Database -- -- For login <login_name, sysname, login_name>, create a user in the database CREATE 阅读全文

posted @ 2020-08-24 13:48 木龙哥 阅读(148) 评论(0) 推荐(0) 编辑

2020年8月2日

Jenkins asp.net

摘要: 1.download jenkins https://www.jenkins.io/download/thank-you-downloading-windows-installer-stable/ 2.download vs tools https://visualstudio.microsoft. 阅读全文

posted @ 2020-08-02 17:45 木龙哥 阅读(128) 评论(0) 推荐(0) 编辑

2020年7月27日

各浏览器下载文件名称长度差异

摘要: 测试下载文件名称(274): 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 阅读全文

posted @ 2020-07-27 10:26 木龙哥 阅读(376) 评论(0) 推荐(0) 编辑

2020年6月27日

zabbix 5.0

摘要: 1. 启动Zabbix server和agent进程 启动Zabbix server和agent进程,并为它们设置开机自启 # systemctl restart zabbix-server zabbix-agent httpd rh-php72-php-fpm# systemctl enable 阅读全文

posted @ 2020-06-27 12:13 木龙哥 阅读(289) 评论(0) 推荐(0) 编辑

2020年6月21日

mariadb

摘要: 1.下载 https://downloads.mariadb.org/mariadb/10.5.3/ 2.解压后cmd执行 mysql_install_db.exe --datadir=D:\db --service=Mariadb --password=123456 "C:\Program Fil 阅读全文

posted @ 2020-06-21 02:24 木龙哥 阅读(183) 评论(0) 推荐(0) 编辑

2020年6月15日

修复续期vpn证书无法使用的问题

摘要: 电脑使用公司VPN证书到期了,又申请了一个新的,但发现新的证书无法使用。 一直提示 No valid certificates available for authentication 后来公司管理证书的同事让我执行了一个命令,vpn就可以使用了。 certutil -repairstore -cs 阅读全文

posted @ 2020-06-15 11:04 木龙哥 阅读(4) 评论(0) 推荐(0) 编辑

2020年6月3日

sql server 系统视图

摘要: 查询某个表被哪些存储过程调用 select distinct object_name(id) from syscomments where id in (select id from sysobjects where type ='P') and text like '%表名%' --SQL SER 阅读全文

posted @ 2020-06-03 08:51 木龙哥 阅读(255) 评论(0) 推荐(0) 编辑

2020年4月17日

js代码段

摘要: 复制所有图片 (function() { var arr = []; var imgs = document.getElementsByTagName('img'); for (var i = 0, len = imgs.length; i < len; i++) { arr.push(imgs[i 阅读全文

posted @ 2020-04-17 11:58 木龙哥 阅读(165) 评论(0) 推荐(0) 编辑

导航