Save all bicolor numbers to MySQL

Save all bicolor numbers to MySQL   1, function This code mainly saves all data of dichroic sphere to mysql database, and the total type of dichroic sphere is 17721088. The 8G I7 notebook of the author has been inserted for about 10 days. The following code contains two methods: Insert_SSQ and Insert_SSQ2. The former inserts ...

Posted by clodagh2000 on Thu, 26 Dec 2019 07:06:41 -0800

Solution: ora-02199: missing datafile / tempfile clause

Solution: ora-02199: missing datafile / tempfile clause OMF, the full name is Oracle Managed Files, that is, oracle file management. Using OMF can simplify the management of the administrator, without specifying the name, size, path of the file. Its name, size, path are automatically assigned by oracle. When deleting logs, data, ...

Posted by Eiolon on Thu, 26 Dec 2019 06:34:44 -0800

C++ MFC connection database (with project source code)

There are several ways to connect to the database: SQL SERVER ODBC OLE DB MYSQL I. MySQL How to connect mysql database is introduced here. MySQL workbench version 6.3 is used. Other versions are also available. Installation process is Baidu 1. Table definition   Development platform The vs2008 version is used h ...

Posted by jerk on Wed, 25 Dec 2019 08:47:46 -0800

[syntax 14] Python MySQL connector driver

MySQL is the most popular relational database management system. In this chapter, we will introduce you to use MySQL connector to connect and use mysql. MySQL connector is the official drive provided by mysql. We can use the pip command to install MySQL connector: python3 -m pip install mysql-connector Use the following code to ...

Posted by jabapyth on Tue, 24 Dec 2019 13:35:29 -0800

Syntax differences encountered in MySQL conversion and Solutions

Recently, the company's project needs to be transferred from SQL Server to MySQL. In the process of transferring, some differences between the two grammars are encountered. After finding a solution on the Internet, it is recorded here. Since there may be many solutions, I only record what I have used for reference. 1. Splicing string Using the ...

Posted by xplore on Tue, 24 Dec 2019 06:54:56 -0800

MySQL learning -- backup and restore with mysqldump command

Absrtact: This paper mainly studied how to use mysqldump command to backup and restore database. Derived data Export all data Parameters: 1 --all-databases, -A Give an example: 1 mysqldump -h127.0.0.1 -uroot -p -A > db_back.sql Export the specified database Parameters: 1 --databases, -B Give an example: 1 mysqldump -h127.0.0.1 -uroot ...

Posted by gaza165 on Tue, 24 Dec 2019 02:58:30 -0800

Summary of SQL Server Setting max server memory incorrectly

Yesterday, a netizen on the Internet said that after his colleague mistakenly set "max server memory" to 10M, the SQL Server database could not be logged in. At that time, I simply tested it. Today, I will sort out the whole process and record it here.   Set "max server memory" in the UI of SSMS. Even if you set it to 10M, i ...

Posted by mwd2005 on Mon, 23 Dec 2019 19:43:03 -0800

Blood relationship analysis based on maxcompute information schema

1, Demand scenario analysis In the actual operation and management process of data platform, the scale of data table tends to grow to a very large scale with the access of more business data and the construction of data application. Data managers often hope to use the analysis of metadata to better grasp the kinship of different data tables, so ...

Posted by SlyOne on Sun, 22 Dec 2019 23:01:10 -0800

mysql query: row to column, column to row, please don't humiliate me anymore

I was humiliated by a row of sql interview questions, so sad There is a scenario where there are three products, i.e. 1, 2, 3, and three warehouses, i.e. 01, 02, 03. The three warehouses store three products respectively. The quantity distribution is as follows: Product (PID) Warehouse (SID) Quantity (PNUM) 1 01 10 1 02 8 2 02 11 2 0 ...

Posted by coldfiretech on Sun, 22 Dec 2019 20:06:39 -0800

sql statement of creating table with mysql

This article uses a project to explain the sql statement of creating table with mysql. jsp freshmen check in system to see how to analyze requirements and convert them into database statements. Pay attention to write notes when creating tables, and form a good habit. The super administrator table creation statement is as fol ...

Posted by bundyxc on Sun, 22 Dec 2019 08:34:26 -0800