<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[small20201111的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/small20201111</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; small20201111]]></copyright><item><title><![CDATA[SQL查询数据，需要对数据排序并循环与下一个数据比较（使用偏移函数）]]></title><link>https://blog.youkuaiyun.com/small20201111/article/details/114989116</link><guid>https://blog.youkuaiyun.com/small20201111/article/details/114989116</guid><author>small20201111</author><pubDate>Thu, 18 Mar 2021 19:59:08 +0800</pubDate><description><![CDATA[select t.*， lead(t.比较字段,1, null) over( partition by  分组字段1，分组字段2，order by 排序字段 )  from table as t;
参考：https://blog.youkuaiyun.com/sinat_26811377/article/details/107188400

]]></description><category></category></item><item><title><![CDATA[python 连接oracle报错- Cannot locate a 64-bit Oracle Client解决方案]]></title><link>https://blog.youkuaiyun.com/small20201111/article/details/114646196</link><guid>https://blog.youkuaiyun.com/small20201111/article/details/114646196</guid><author>small20201111</author><pubDate>Wed, 10 Mar 2021 20:58:09 +0800</pubDate><description><![CDATA[1、下载instantclient，我下载的是instantclient_19_10：
因为刚开始去电脑上oracle client 版本就11.1，python版本3.8
安装后直接报版本错误：
oracle client library is at version 11.1 but version 11.2 or higher is needed
所以直接下载了19的版本
2、解压instantclient ，并在目录下面 新建 NETWORK/ADMIN目录
3、admin在里面新建tnsnames.]]></description><category></category></item><item><title><![CDATA[windows如何定时重启一个.bat的批处理文件]]></title><link>https://blog.youkuaiyun.com/small20201111/article/details/110644535</link><guid>https://blog.youkuaiyun.com/small20201111/article/details/110644535</guid><author>small20201111</author><pubDate>Fri, 04 Dec 2020 15:26:31 +0800</pubDate><description><![CDATA[虚拟机上装了一个Tomcat，免费版的，弊端是需要定期重启否则无法使用；所以想到了设置定时任务定期重启来解决。
一、用powershell 先结束进程，再启动Tomcat
Get-Process -Name 你的进程名 |stop-process
Get-Process -Name 你的进程名2 |stop-process
#如果有多个需要结束的，同理增加
#2、关闭后设置一定的延时（可选项）
Start-Sleep -Seconds 3  
#3、重新启动
start-process powershell]]></description><category></category></item><item><title><![CDATA[命令行远程链接端口不是默认的mysql数据库]]></title><link>https://blog.youkuaiyun.com/small20201111/article/details/110199399</link><guid>https://blog.youkuaiyun.com/small20201111/article/details/110199399</guid><author>small20201111</author><pubDate>Thu, 26 Nov 2020 18:13:45 +0800</pubDate><description><![CDATA[连接mysql3306端口命令
mysql -h58.64.217.120 -ushop -p123456
连接非3306端口(指定其他端口) 的命令
mysql -h58.64.217.120 -P3308 -ushop -p123456
不同的地方我已经用黄色的标注了
注意: -P 要大写

]]></description><category></category></item><item><title><![CDATA[PowShell连接远程桌面的艰难历程]]></title><link>https://blog.youkuaiyun.com/small20201111/article/details/109652720</link><guid>https://blog.youkuaiyun.com/small20201111/article/details/109652720</guid><author>small20201111</author><pubDate>Thu, 12 Nov 2020 19:59:50 +0800</pubDate><description><![CDATA[**PowShell连接远程桌面的艰难历程**

学习PowShell看到连接远程桌面的内容，正好最近项目也有类似需求，所以打算研究一下，结果搞了大半天，查了百度N多资料，硬是没有解决，后来在服务端看了下远程桌面设置中找到了答案，以下细说过过程
1、服务端配置系统接受远程命令
Enable-PSRemoting
Set-Item wsman:\localhost\client\trustedhosts $ip

这步操作正常，但操作到客户端的时候，总是报错，然后自我脑补是不是因为客户端的IP不是固定的，所以]]></description><category></category></item><item><title><![CDATA[解决mysql插入数据时出现的incorrect string value]]></title><link>https://blog.youkuaiyun.com/small20201111/article/details/109607376</link><guid>https://blog.youkuaiyun.com/small20201111/article/details/109607376</guid><author>small20201111</author><pubDate>Tue, 10 Nov 2020 21:03:26 +0800</pubDate><description><![CDATA[此方法适用于解决中文字符的插入问题。
出错原因：UTF-8编码有可能是两个、三个、四个字节。Emoji表情或者某些特殊字符是4个字节，而MySQL的utf8编码最多3个字节，所以数据插不进去。
在mysql的安装目录下有一个文件叫做my.ini。
在其中添加两句：
[mysqld]
character-set-server=utf8mb4
[mysql]
default-character-set=utf8mb4
然后进行重启。
重启之后再次来到创建的那张表，执行语句：
alter table TABLE_]]></description><category></category></item><item><title><![CDATA[PowerShell入门极力推荐的共享资源]]></title><link>https://blog.youkuaiyun.com/small20201111/article/details/109607111</link><guid>https://blog.youkuaiyun.com/small20201111/article/details/109607111</guid><author>small20201111</author><pubDate>Tue, 10 Nov 2020 20:53:16 +0800</pubDate><description><![CDATA[共享链接
http://xntutor.com/powershell/create-and-run-a-powershell-script.html
https://www.jianshu.com/c/411caa7f10cd

]]></description><category></category></item></channel></rss>