Mysql create database

Recently, I'm ready to start Mysql. I feel very interesting. I'm ready to study hard. I just saw the creation of mysql database, which is very different from Oracle. I feel that mysql database is similar to Oracle's schema, but there is schema in mysql. Apart from the cluster environment, Oracle has multiple databases and inst ...

Posted by hawkeyes on Fri, 03 Jan 2020 00:33:44 -0800

The introduction of print table stored procedure in oracle

All along, I think it's very easy to use the \ G parameter in MySQL to change the display mode of the output result set, especially in the command-line interface. But ORACLE database doesn't have this function. Today, when I searched a blog post of master Tom, I found that master used a stored procedure, print table, to implement such functions ...

Posted by Repgahroll on Thu, 02 Jan 2020 18:27:41 -0800

Oracle storage functions

Oracle storage functions The storage function is also a named PLSQL block. --Note: the stored procedure has no return value, but the stored function has a return value. The difference between stored procedure and stored function Generally speaking, the difference between a procedure and a function is that a function can ...

Posted by hongco on Wed, 01 Jan 2020 13:45:28 -0800

Introduction to MariaDB database (including backup and recovery)

1. Install the main program and server of MariaDB database [root@fudanwuxi ~]# yum install mariadb mariadb-server.x86_64 [root@fudanwuxi ~]# systemctl restart mariadb.service [root@fudanwuxi ~]# systemctl enable mariadb.service Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/ ...

Posted by pereira2k5 on Tue, 31 Dec 2019 14:39:52 -0800

Spring data integrates JPA (specifically implemented as (Hibernate));

Here, we take Maven as an example to send the map first, then the text information of Maven and configuration file (easy to copy and paste); the Oracle11g database jar package is in the lib directory of Oracle database installation, which is not specifically introduced here Spring integrates Jpa configuration files: be careful, ...

Posted by manyamile on Thu, 26 Dec 2019 13:40:04 -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

Configuring transparent gateway to access MS SQL SERVER Under Oracle

Configuration setting The server operating system IP address SQL SERVER Windows 2003 10.9.5.47 Oracle DB Linux 5.8 10.9.5.90 Oracle Gateways 1. Install transparent gateway After Oracle 11G, Gateways under linux ...

Posted by xnowandtheworldx on Sat, 21 Dec 2019 10:42:10 -0800

MyBatis Generator failed to get comments when generating the corresponding entity class of Oracle Database

Recently, a problem was found when using mybatis generator to generate the entity classes corresponding to Oracle database. It is hereby recorded. Because the project uses swagger2, we want to generate the corresponding @ ApiMode and @ ApiModelProperty annotations through table annotations and field annotations when generating entity classes. H ...

Posted by Shendemiar on Thu, 19 Dec 2019 10:02:11 -0800

apache dbutils calls stored procedures based on oracle Database

Preface Apache Commons dbutils version 1.7 shows the calls that support stored procedures. Please pay attention to the version issue when using this code. 1.7 version update method int execute(String sql, Object… params) executes SQL statements, including stored procedure calls, which do not return any result sets. ...

Posted by xux on Thu, 19 Dec 2019 07:33:59 -0800

Table operation of oracle rookie learning

First episode: http://www.arppinging.com/wordpress/?p=96 Table operation of oracle rookie learning 1. create table In oracle, create table is used to create a table SQL> create table student(sno number(6),sname varchar2(12),address varchar2(20)); Table created. SQL> desc student; Name Null? Type ...

Posted by darklight on Sun, 15 Dec 2019 14:22:33 -0800