Part 1 Database SQL language
Database script comments
1. Overview
Annotations play an important role in programming languages. Beautiful and proper comments not only help developers understand programs, but also improve programming efficiency (and
For select statements:
1. When a table scan is used, the page is directly locked, instead of locking a specific record. Therefore, these locks are available:
A. Database S lock
B. Table IS lock
C. Page S lock
2. When indexes are used to search for
The popularity of big data makes many people want to develop in this direction and do some work such as data mining and data analysis. But where should I start? How can we quickly learn useful knowledge and skills? I think there are three entry
I encountered an interview question recently, and I was confused. I only spoke about my thoughts. Later, Baidu sorted out my thoughts and recorded them to facilitate future study. (For the interview questions, see the attachment)
Related Data Tables:
A ORA-00997 is reported when you access the long field of a table through dblink. for example, I want to access the remote ELISDATA through dblink. in the POS_TEST_CASE_AMASS table, where the CASE_PARAM_CHAR field is LONG, some conversions are
Service name for Dynamic Registration in the listener: If service_names is not set, the parameter values of db_unique_name and db_domain are spliced to register the listener. (service_names has a high priority). The verification is as follows :.----
In the previous query, the result is all records in the table. If you want to only display records that meet certain conditions, you must use conditional query or a restricted query.
Basic Syntax of conditional query:
SELECT * | (specific column
Ant 1.8.2 is deployed on machine 241 and oracle 11g is deployed on machine 242. the following error is reported when ant 1.8.2 is used to insert data to the oracle 11G environment through the oracle DRIVER:
builddb:BUILD FAILED/home/build.xml:10:
Connect C ++/C to the MySQL database in Linux (2) -- return data SQL reference:
The SQL statement that returns data is used to retrieve data records that meet the conditions from the database.
There are four steps to retrieve data from the MySQL
Similar to MongoDB, RethinkDB is a database engine mainly used to store JSON files (MongoDB stores BSON). It can easily connect multiple nodes into a distributed database, very easy-to-use Query Language and support for table joins and group by
A buddy in Shanghai asked me that I had not finished running an SQL statement for four hours. I was so sorry, I was asked to optimize it. I really admire him. If I ran for a few minutes, I wouldn't be able to stand it anymore.
The SQL statement and
The database uses db2, which has two tables: Check table (STUDY_TBL) and filter table (SELECTION_TBL)
========================================
The description of STUDY_TBL is roughly as follows:
STUDY_LID integer primary key,
STUDY_DATE
Let's take a look at a problem today.Environment Introduction:Gi version: 11.2.0.4.0Database version: 11.2.0.4.0Oracle linux: Linux Server release 6.4RAC dual-node ASM + restart-alone ASMProblem description:When you start the standby database
The previous article discussed the new features of adding columns to a large table in 11g,
Before 11g is mentioned, you can add rows and columns (with default values) by means of online redefinition of tables ).
Online permission redefinition
Start an Oracle database instance in Linux: Step 1: Start the listener; Step 2: Start the database instance.I. How to start a database instance1. Go to sqlplus to start the instanceSu-oracle -- "switch to oracle user"Lsnrctl start -- "enable
Running Environment: Primary: 192.168.111.150Standby: 192.168.111.15119425111.152os: CentOS5.8PostgreSQL: 9.1.2 or later. Streaming Replication is supported.
PostgreSQL cache details
Compiling PostgreSQL on Windows
Configuration and installation of
Complete steps to manually create a database in Oracle
1. Create a directory for storing database files and log-Related Files
Create the NEWDB directory in the $ ORACLE_BASE \ oradata and $ ORACLE_BASE \ admin directories respectively.
Use commands
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service