sql server basic command statement

1, Create library and table classes create database a;//Create database //Create table create table name( Field name char(10), Field name 2 char(10) ) drop Command is also the method of use 2, Modify table data alter sentence //Delete column alter table student drop column Field name; //Add column alter table student add column Field na ...

Added by aeafisme23 on Fri, 04 Feb 2022 14:23:43 +0200

Use Springboot + Thymeleaf+Mybatis to realize the addition, deletion, modification and paging query of Mysql database

Article catalogue I Create a spring project using IDEA II Establish project structure III Create database IV Import pom dependencies V Writing pojo entity classes Vi Write dao layer VII Write service layer VIII Write controller layer IX Write usermapper XML Mapping File X Write yml configuration information Xi Write front page XII ...

Added by bouton on Fri, 04 Feb 2022 09:56:32 +0200

Mysqk index details

Detailed explanation of Mysql index What is an index? 1. Index An index is the directory of a table. You can find the index position in the directory before finding the content, so as to quickly locate the query data. For indexes, they are saved in additional files. **2. * * index is a data structure specially used to help users query data ...

Added by techbinge on Fri, 04 Feb 2022 04:35:30 +0200

Zabbix + distributed database TiDB realizes distributed database monitoring

1, Introduction to Tidb 1. What is TiDB TiDB is an open-source distributed relational database independently designed and developed by PingCAP company. It is an integrated distributed database product that supports both online transaction processing and online analytical processing (HTAP). It has horizontal expansion or reduction, financi ...

Added by Solemn on Thu, 03 Feb 2022 16:39:35 +0200

Django (5.Model and QuerySet, database operation)

Database (warehouse)Model (warehouse design drawing) fields: CharField,IntegerField,FloatField,DateTimeField,             OneToOneField,ManyToManyField,Foreignkey fields parameter: max_length,choices Instance (goods)QuerySet query set (package) List like objects Indexable, sliced, in (instance in queryset) Database connection Dja ...

Added by ratebuster on Thu, 03 Feb 2022 12:08:36 +0200

MySql separation of reading and writing, database and table

There are two ways to realize read-write separation and data segmentation Method 1: middle tier agent (mycat) System application ----- > intermediate agent ----- > Database Method 2: the client mode (sharding JDBC) only needs to introduce the jar package of the client Difference: mycat is the server agent and sharding JDBC is the c ...

Added by rammac13 on Thu, 03 Feb 2022 11:59:15 +0200

The 28th day of Java smallholder cultivation

day28 Today's content Basic concepts of JDBCquick get startA detailed explanation of interfaces and classes in JDBC JDBC Concept: Java Database Connectivity (JDBC) is an application program interface in the Java language used to standardize how client programs access the database, and provides methods such as querying and updating data in t ...

Added by methodman on Thu, 03 Feb 2022 10:24:48 +0200

[openGauss] I rubbed a UTL for openGauss with plsql_ URL package

preface Recently, I began to bite the openGauss compatible package. I'll practice with a simpler one first. UTL_ The url package has only two functions, "ESCAPE" and "unscape", which are actually two functions of URLENCODE and URLDECODE used in other development languages. They are mainly used to process some specific char ...

Added by Bryan Ando on Thu, 03 Feb 2022 10:04:16 +0200

STL database review

Happy New Year! The first blog in 2022 is mainly because I don't like summarizing, so I need to read more and summarize more. Then it's today's review! 1.vector vector<int>a; a.push_back(); a.pop_back(); a.insert(a.begin() + i, k);//Insert from position i for (vector<int>::iterator i = a.begin(); i != a.end(); i++) { cout ...

Added by binujayaraj on Thu, 03 Feb 2022 05:52:23 +0200

MySQL restores data through binlog

prepare 1. Confirm that binlog is enabled show variables like 'log_%'; After execution, log in the red box below_ Bin on means binlog is on 2. Prepare database tables and data for operation CREATE TABLE `study`.`tb_class` ( `id` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, `score` int(255) DEFAULT NULL, `grade` varcha ...

Added by atzi on Thu, 03 Feb 2022 00:55:55 +0200