摘要: 经常用的命令 exec sp_help* --*可以是db,table,job等数据库对象 exec sp_help --查看数据库中对象存储过程/函数,表等信息(不是create语句) exec sp_helptext --显示存储过程,函数,触发器,计算列,check约束视图系统对象的creat 阅读全文
posted @ 2020-10-28 10:09 单眼皮Boy 阅读(221) 评论(0) 推荐(0) 编辑
摘要: https://community.amd.com/t5/gaming/how-to-running-optimized-automatic1111-stable-diffusion-webui-on/ba-p/625585 优点:不是用CPU生成图片 缺点:图片设置太大容易爆显存 阅读全文
posted @ 2023-09-26 14:24 单眼皮Boy 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 微软官方对sp_addarticle的解释: When you publish objects, their definitions are copied to Subscribers. If you are publishing a database object that depends on 阅读全文
posted @ 2023-04-11 18:07 单眼皮Boy 阅读(24) 评论(0) 推荐(0) 编辑
摘要: package mail import ( "crypto/tls" "errors" "fmt" "net/smtp" "net/textproto" ) type loginAuth struct { username, password string } // LoginAuth is fun 阅读全文
posted @ 2023-04-07 14:29 单眼皮Boy 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 参考:https://github.com/spf13/viper/issues/213 知识点:go类型断言 toml config: [src_isntances] # i=[{ip="dasds",port="asdas"},{ip="dffdafs",port="afasdsdas"}] i 阅读全文
posted @ 2023-03-14 18:26 单眼皮Boy 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 端口要求 Port number Between Reason 5022 TCP Nodes AlwaysOn 1433 TCP Nodes SQL 3343 UDP Nodes Cluster 137 UDP Nodes DNS 135 TCP/UDP Nodes and 49152 throug 阅读全文
posted @ 2022-12-13 15:10 单眼皮Boy 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 一些有时候比较有用的扩展存储过程 sp_MSgetversion This extended stored procedure can be used to get the current version of Microsoft SQL Server. Syntax: EXEC master..s 阅读全文
posted @ 2022-12-07 14:11 单眼皮Boy 阅读(24) 评论(0) 推荐(0) 编辑
摘要: tempdb initial size 和dbcc shrinkfile 在使用sql server时您可能遇到过下面的情况,tempdb的数据文件初始大小为3mb, 随着对tempdb的使用,tempdb文件逐渐变得很大(例如30GB),导致了磁盘空间不足。 此时您需要立刻释放tempdb文件所占 阅读全文
posted @ 2022-11-30 16:48 单眼皮Boy 阅读(537) 评论(0) 推荐(1) 编辑
摘要: vscode remote-wsl 启动失败 错误信息 Updating VS Code Server to version dfd34e8260c270da74b5c2d86d61aee4b6d56977 Removing previous installation... Installing V 阅读全文
posted @ 2022-04-28 21:00 单眼皮Boy 阅读(2046) 评论(0) 推荐(0) 编辑
摘要: Issue 受制于公司策略,密码必须要有过期时间,但如果时间到了用户就可能会被锁,定时通知修改又很麻烦,所以想使用脚本定时修改为旧密码。但单独使用下面的语句修改sql用户的密码就会报错。 alter login [test] with password=N'1234' old_password=N' 阅读全文
posted @ 2022-03-28 15:08 单眼皮Boy 阅读(229) 评论(0) 推荐(0) 编辑
摘要: issue sql agent使用powershell挂载共享盘不能识别. New-PSDrive -Persist -Name Z -Root \\ip\path 挂载的盘识别不了 solution 第一种 New-PSDrive -Persist -Name Z -Root \\ip\path 阅读全文
posted @ 2022-03-09 18:53 单眼皮Boy 阅读(48) 评论(0) 推荐(0) 编辑