Use of the Java Timestamp class
Use of the Java Timestamp class
How do I convert a java.util.Date type to a java.sql.Timestamp type?
Simply, we can declare Timestamp TS = new Timestamp (new Date (). getTime ()); so we can get a more specific type conversion for time!!!
In developing web applications, we need to do a variety of conversion for different database dat ...
Added by domainbanshee on Sun, 30 Jun 2019 19:33:12 +0300
Table space attributes in partitioned tables in Oracle
Partition table in Oracle is a good feature of Oracle. It can divide large tables into several small tables, so as to improve the efficiency of SQL execution for the large table, and each partition is transparent to the application.Each partition in the partition table has its own storage characteristics, including table space, PCT_FREE, etc. W ...
Added by JimChuD on Fri, 28 Jun 2019 01:56:59 +0300
Why did it take 5 hours for the final release plus verification, which was originally expected to be released in an hour?
This is a simple story of data production import, the original story should be as follows: data collation - > test verification - > production release - > production verification, and then back to home, so this should be a plain story, but in fact it has become the following plot: data collation - > test verification - > producti ...
Added by simonb on Fri, 28 Jun 2019 01:05:12 +0300
10 minutes proficiency in Nginx access log analysis statistics
brief introduction
Many individual webmasters use nginx as a server when they set up their websites. In order to know how the websites are visited, there are usually two ways:
Insert js into the front-end page using methods such as CNZZ, trigger js when the user accesses, and record access requests.
Analyze nginx's access log to extract useful ...
Added by fazbob on Thu, 27 Jun 2019 19:13:09 +0300
Full parsing of stored procedures in mysql
1. What is a stored procedure?
Stored procedures and functions are sql statements that have been compiled and stored in the database beforehand. Calling stored procedures can simplify our development. The difference between stored procedures and functions is that functions have return values and stored procedures have no return values.
2. Gra ...
Added by mgallforever on Thu, 27 Jun 2019 00:19:33 +0300
Spring+Spring MVC+MyBatis Deep Learning and Building (V) - Dynamic sql
For reprinting, please indicate the source: http://www.cnblogs.com/Joanna-Yan/p/6908763.html
I mentioned earlier. Spring+Spring MVC+MyBatis Deep Learning and Building (IV):MyBatis Input and Output Mapping
mybatis core: flexible operation of SQL statements, judgment through expressions, flexible splicing and assembly of sql.
mybatis provides ...
Added by Technex on Thu, 27 Jun 2019 00:11:20 +0300
Source code analysis of database middleware MyCAT: [single library form] query
> Original address: MyCAT Source Analysis: [Single Library Form] Query
> MyCat-Server with annotated address: https://github.com/YunaiV/Mycat-Server
> (vii) This series is updated every 1-2 weeks. You are welcome to subscribe, follow and collect GitHub: https://github.com/YunaiV/Blog
1. Overview
2. Receiving requests and parsing SQ ...
Added by TeddyKiller on Wed, 26 Jun 2019 23:23:57 +0300
Python programming of SQLite
0. Introduction
Python provides SQLite 3-based modules, which are installed by default in Python 2.7.3. Here we just need to use it.
Why call sqlite module in Python? This is because Python is an excellent scripting language (which insults Python a little, but Python can do a lot of tasks as a scripting language), so that we can accomplish s ...
Added by Hitoshi on Mon, 24 Jun 2019 22:50:04 +0300
HAWQ Replaces Traditional Number Warehouse Practice (19) - OLAP
1. Introduction to OLAP
1. ConceptsOLAP is the abbreviation for On-Line Analytical Processing in English, meaning Online Analytical Processing.This concept was first proposed by E.F.Codd, the father of relational databases, in 1993.OLAP allows access to aggregated and organized data from business data sources in a structure called cubes.On-Line ...
Added by calevans on Sat, 22 Jun 2019 21:07:36 +0300
Summary of Java Web Development Knowledge (IV) - (oracle_programming)
Java Web Development Knowledge Summary (Oracle-Programming)
1. PL/SQL: Oracle-specific
1.1 PL/SQL Overview
PL/SQL (Procedure Language/SQL) is Oracle's procedural extension of SQL language. It refers to the addition of procedural statements (such as branches, loops, etc.) in the SQL command language, which makes the SQL language procedur ...
Added by MikeyNoedel on Fri, 21 Jun 2019 21:30:46 +0300