10. Examine the following statement that is used to modify the constraint on the SALES table: SQL> ALTER TABLE SALES MODIFY CONSTRAINT pk DISABLE VALI ...
分类:
其他好文 时间:
2018-12-15 11:59:30
阅读次数:
133
早上来到公司,线上的项目报错: 赶紧连接服务器看下问题,玛德,服务器都连不上,第一反应,服务器挂了,缓存挂了,解决方法:找运维重启服务器,重启缓存,ok,搞定。 ...
分类:
数据库 时间:
2018-12-12 11:17:58
阅读次数:
378
ALTER TABLE TableName MODIFY COLUMN -- 最后更新时间,自动赋值 dtModify datetime(6) NULL DEFAULT now() ON UPDATE now(); ...
分类:
数据库 时间:
2018-12-11 11:28:16
阅读次数:
205
"传送门" 这道题与普通的$splay$不大相同,别的都是以权值来排序,但这道题是以位置进行排序的,也就是对于一个节点,它的左子树中的节点都在它的上面,右子树中的节点都在他的下面。 这个比较独特的一点在于建树,这次不能再二分查找要插入的位置了,而是每一次直接把当前插入的点作为上一次插入的点的右儿子( ...
分类:
其他好文 时间:
2018-12-10 11:50:01
阅读次数:
141
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Example 1: Input: [1,3,null,null,2 ...
分类:
其他好文 时间:
2018-12-09 20:13:34
阅读次数:
142
pragma solidity ^0.4.0; contract EMath{ string public _a="lin"; function f() public{ modify(_a); } //function modify(string storage name) private{ fun... ...
分类:
其他好文 时间:
2018-12-06 20:16:53
阅读次数:
371
665. Non-decreasing Array Input: [4,2,3] Output: True Explanation: You could modify the first 4 to 1 to get a non-decreasing array.递增 思路:贪心思想,找异常值,存在两 ...
分类:
其他好文 时间:
2018-12-06 12:07:50
阅读次数:
232
写函数,,用户传入修改的文件名,与要修改的内容,执行函数,完成批了修改操作def modify_file(filename, old, new): # 定义函数 import os # 导入文件模块 with open(filename, 'r', encoding='utf-8') as f_re... ...
分类:
其他好文 时间:
2018-12-03 01:08:34
阅读次数:
201
IF you are competent to unzip the pptx file and modify the XML it can be done, the slide size will change but the pictures will not change (they will ...
分类:
其他好文 时间:
2018-12-01 20:19:12
阅读次数:
233
-- 链接数据库 mysql -uroot -p -- 退出数据库 exit/quit/ctrl+d -- sql语句最后需要有分号;结尾 -- 显示数据库版本 select version(); -- 显示时间 select now(); -- 查看所有数据库 show databases; -- ...
分类:
数据库 时间:
2018-11-29 12:27:01
阅读次数:
179