Processing excel form of python

xlrd xlrd is a third-party module used to read excle tables in python. Many enterprises use tables to manage data before using computer management, so importing tables is very common! Install xlrd pip install xlrd Analysis of excel structure An excle table contains multiple sheet s A sheet contains multiple rows and columns E ...

Posted by lonewolf217 on Thu, 31 Oct 2019 08:34:26 +0100

Detailed interpretation of Spring's transaction propagation attribute

To learn things, we need to integrate knowledge with practice. If we only know the theory but never practice it, we will not have a solid grasp of it. It is estimated that we will forget it in a few days. Next, we will practice together to learn the propagation properties of Spring transactions. Propagation attribute The propagation attribute ...

Posted by keane7 on Wed, 30 Oct 2019 10:53:53 +0100

nodejs crawler http, cheerio, mysql module

nodejs related modules Get web content (httprequestsuperior, etc.) Filter web information (cheerio) Output or store information (consolesmongodbmysql, etc.) 1. Use the request module to obtain the web page content var request = require('request'); // Read the content of http://cnodejs.org/ through GET request request('http://cnodejs.org ...

Posted by quikone on Tue, 29 Oct 2019 20:27:51 +0100

MyBatis - dynamic SQL

I. Introduction to dynamic SQL   dynamic SQL is the most powerful function of MyBatis, in essence, splicing SQL statements according to conditions.   I always thought that dynamic SQL was only supported by the configuration of XxxMapper.xml, but I didn't expect that MyBatis in the annotation v ...

Posted by centenial on Tue, 29 Oct 2019 18:14:50 +0100

Notes on the way to security: JDBC's defense against SQL injection

0x00 Preface This article records my way of learning, directly into the body. 0x01 text Why does SQL injection occur? For me, it will be summed up as one sentence: "the SQL statement executed by dynamic splicing contains untrusted data." What is dynamic splicing? Look at the following SQL ...

Posted by cgf2000 on Sun, 27 Oct 2019 03:06:19 +0100

JAVA calls the console to implement MYSQL incremental backup and recovery (mysqlbinlog)

Knowledge background Background reference website: https://www.cnblogs.com/luoyx/p/5896419.html (I'll copy it below if I have time) Open MySQL binlog Barbara Full backup and recovery in dump mode Barbara Incremental backup and recovery using binlog Barbara     JAVA implementation Realize f ...

Posted by Omri16 on Fri, 25 Oct 2019 18:42:46 +0200

Notes on Python operation of MySQL

Python&MySQL Catalog Python&MySQL Introduction 1.1 database classification Two MySQL 2.1 grammar Overview of 2.1.1 2.1.2 add data 2.1.3 delete data 2.1.4 change data 2.2 MySQL DB module 2.2.1 connecting to the database 2.2.2 close database 2.2.3 query data 2.2.4 add data Three ORM 3. ...

Posted by jasonc310771 on Fri, 25 Oct 2019 14:24:31 +0200

Analysis of MyBatis binding module

Package of binding function code org.apache.ibatis.binding binding module function Encapsulating ibatis programming model In the ibatis programming model, SqlSession is the entry of sql execution. The practical method is sqlSession.selectOne(namespace+id, parameter list) (for example, sqlSession.selectOne("com.enjoylearning.mybatis.mapper ...

Posted by Dilbert137 on Tue, 22 Oct 2019 17:02:45 +0200

SQL Server obtains relevant stored procedures and other objects through conditional search.

In SQL Server, we often meet some requirements. We need to search whether objects such as procedures and functions contain an object or involve an object. For example, I need to find out whether those stored procedures and functions call LINKED SERVER. If we search from sys.sql modules, we need to search for multiple functions. The user databas ...

Posted by frist44 on Tue, 22 Oct 2019 16:45:54 +0200

SQL Server get index creation time & rebuild time & reorganization time

I wrote a blog before“ Can the last index rebuild time be accurately obtained in SQL Server? ", which mainly deals with three questions: can we find the creation time of the index? When was the last index rebuild? When was the last index reorganize? At that time, we came to the conclusion that the answer was that we could not accurat ...

Posted by Mr Camouflage on Tue, 22 Oct 2019 11:40:31 +0200