drop procedure if exists schema_change; delimiter ';;'; create procedure schema_change() begin if not exists( select * from information_schema.`COLUMN ...
分类:
数据库 时间:
2020-07-28 17:23:22
阅读次数:
92
Type = SqlFunc.IF(s.Type == 10).Return(1) .ElseIF(s.Type == 20).Return(2) .End(0) 等同于Select语句中的 (CASE WHEN ( [s].[type] =10 ) THEN 1 WHEN ( [s].[type] ...
分类:
数据库 时间:
2020-07-28 17:04:34
阅读次数:
103
Java中Method类和invoke方法详解 在说Method和invoke的使用之前我们来看一个小例子, 如果看懂了那就ok了 public class MethodInvoke { class Animal { public void print() { System.out.println( ...
分类:
编程语言 时间:
2020-07-28 17:01:19
阅读次数:
75
0xE0434352 is the exception code for all .NET exceptions so that won't tell you much. How did you got this exception code? The event log? Your best be ...
分类:
其他好文 时间:
2020-07-28 16:56:56
阅读次数:
69
图片的复制无非有两种方法,一种是图片直接上传到服务器,另外一种转换成二进制流的base64码目前限chrome浏览器使用首先以um-editor的二进制流保存为例:打开umeditor.js,找到UM.plugins['autoupload'],然后找到autoUploadHandler方法,注释掉 ...
分类:
Web程序 时间:
2020-07-28 14:45:38
阅读次数:
143
Given two strings s1, s2, find the lowest ASCII sum of deleted characters to make two strings equal. Example 1: Input: s1 = "sea", s2 = "eat" Output: ...
分类:
其他好文 时间:
2020-07-28 14:45:21
阅读次数:
310
pub/sub 这个应该?家?到最?的设计模式了, class Event{ constructor(){ this.callbacks = {} } $off(name){ this.callbacks[name] = null } $emit(name, args){ let cbs = thi ...
分类:
其他好文 时间:
2020-07-28 14:40:21
阅读次数:
82
Leetcode.283 Move Zeroes Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero e ...
分类:
编程语言 时间:
2020-07-28 14:38:35
阅读次数:
91
AcWing 799. 最长连续不重复子序列 #include <bits/stdc++.h> using namespace std; const int N=1e6+10; int a[N],s[N]; int main(){ int n; cin>>n; for(int i=0;i<n;i++ ...
网络环境,客户端是路由下面的子网掩码的ROS(也就是没有公网IP,为城域网的ROS),服务端是具有公网IP的ROS。 该文章可以解决运营商对于只有城域网IP的ROS,对于各种隧道协议全部限速的问题,具体限速情况,可以看我其他的文章: https://www.cnblogs.com/itfat/p/1 ...
分类:
其他好文 时间:
2020-07-28 14:17:35
阅读次数:
91