2021年4月28日

SQL Server 执行 cmd 命令

摘要: exec sp_configure 'show advanced options',1 --显示高级选项 reconfigure with override--重新配置 exec sp_configure 'xp_cmdshell',1 --1代表允许,0代表阻止 reconfigure with 阅读全文

posted @ 2021-04-28 15:20 空明流光 阅读(910) 评论(0) 推荐(0)

C# UTF-8 with BOM 编码

摘要: var utf8WithBom = new UTF8Encoding(true); using (var ms = new MemoryStream()) { using (var swr = new StreamWriter(ms, utf8WithBom)) { swr.Write("abc") 阅读全文

posted @ 2021-04-28 11:11 空明流光 阅读(1144) 评论(0) 推荐(0)

导航