目标:使用DataGridView表格显示数据,并实现在DataGridView修改后更新数据库.步骤:1.连接数据库stringconstr="server=.;database=tushuguanli;uid=sa;pwd=123456‘‘SqlConnectioncon=newSqlConnection(constr);con.open();2.使用datagrea
分类:
数据库 时间:
2020-04-22 10:12:35
阅读次数:
101
1、查找排序最多的SQLSQL>SELECTHASH_VALUE,SQL_TEXT,SORTS,EXECUTIONSFROMV$SQLAREAORDERBYSORTSDESC;2、查找磁盘读写最多的SQLSQL>SELECT*FROM(SELECTsql_text,disk_reads"totaldisk",executions"totalexec",disk_reads/execut
分类:
数据库 时间:
2020-04-22 09:33:45
阅读次数:
119
tinymceeditor富文本编辑器的使用 官网链接:https://www.tiny.cloud/docs/quick-start/ 1、安装tinymce 使用 mpn i tinymce -S 2、新建tinymceeditor.vue文件,内容如下 <template> <section ...
分类:
其他好文 时间:
2020-04-22 00:19:34
阅读次数:
74
在sqlserver中,几年之前就注意到一个现象:sqlserver中对一个大表创建索引或者rebuild索引的过程中,会引起内存剧烈的动荡,究其原因为何,这种现象到底正不正常,是不是sqlserver内存管理存在缺陷?另外,最近刚好想到跟MySQL对比一下类似操作引起的内存变化,测试MySQL会不 ...
分类:
数据库 时间:
2020-04-22 00:04:50
阅读次数:
91
论文地址 :https://www.aclweb.org/anthology/P19-1479/ 作者 : Wei Li, Jingjing Xu, Yancheng He, ShengLi Yan, Yunfang Wu, Xu Sun 机构 : 北大,腾讯PCG 研究的问题: 关注的是对于新闻自 ...
分类:
其他好文 时间:
2020-04-21 23:51:06
阅读次数:
87
1、添加用户tom100 #!/bin/bash while read LINES do user=`echo $LINES |cut -d ' ' -f1` password=`echo $LINES |cut -d ' ' -f2` host=`echo $LINES |cut -d ' ' - ...
分类:
其他好文 时间:
2020-04-21 14:52:49
阅读次数:
79
pydotplus是别的语言嫁接到python里面的,所以绘制要传入字符串形式表示的结构,而没有python的结构对象直接用来画。代码如下: 1 import pydotplus as pdp 2 graph = pdp.graph_from_dot_data('digraph demo1{ a - ...
分类:
其他好文 时间:
2020-04-21 12:43:14
阅读次数:
81
这篇博主的博文很好用,直接解决问题 "code-runner.executorMap": { "python": "set PYTHONIOENCODING=utf8 && python", } ...
分类:
编程语言 时间:
2020-04-21 00:12:21
阅读次数:
90
Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2) digits long integers A and B. For example, after cutting Z = 1673 ...
分类:
其他好文 时间:
2020-04-20 11:55:53
阅读次数:
62
A vertex cover of a graph is a set of vertices such that each edge of the graph is incident to at least one vertex of the set. Now given a graph with ...
分类:
其他好文 时间:
2020-04-20 01:33:53
阅读次数:
85