While I was unable to upgrade my laptop to 1 GB of memory, I was suffering from installing Sun Solaris 10 U3 + Oracle 10g R2 in my current book, I got a laptop for the competition, haha ...... Comfortable. The following is my Installation Record
Usage and difference of in, exists, not in, and not exists in SQL queries
1. in and exists
In connects the External table to the internal table as a hash (Dictionary set), while exists loops the External table and queries the internal table after
[Practice]: Synchronize SQL server data to mysql and SQL Server mysql in real time
1. Install and install mysqlconne
2. Configure mysqlconnector
ODBC data Manager-> system DSN-> Add-> mysql ODBC 5.3 ANSI driver-> Fill in the data source name, such
Analysis on the solution of creating and last updating timestamp fields in MySQL, mysql FieldBefore writing this article, clarify my MySQL version.
mysql> SELECT VERSION();+------------+| VERSION() |+------------+| 5.5.29-log |+------------+1 row
The correct method to restart MySQL in Linux:
1. MySQL installed through the rpm package
Service mysqld restart
2. Install MySQL from the source code package
// Linux Command to disable MySQL
$ Mysql_dir/bin/mysqladmin-uroot-p shutdown
// Linux
Mysql query today, yesterday, last 7 days, last 30 days, this month, last month data, mysql January
Recently, the data record query function for the current month was used in the project. The original idea was to construct a period of time in the
SparkSql predicate push-down rule in Chinese and foreign join queries, sparksql Predicate
SparkSql
SparkSql is a distributed SQL engine built on the spark computing framework. It uses DataFrame and DataSet to carry structured and semi-structured
The concept of SCAN (Single Client Access Name) is introduced in the Oracle 11g RAC cluster, that is, the Single Client Access Name of the cluster. SCAN provides a single host name for the client to access the Oracle database running in the cluster.
Java cannot directly insert Clob Data Types in Oracle, but it can write or read clob data in the form of a stream. The online code is not too much, I have summarized and summarized the online materials. For details, refer to the Code:
Write clob
Use Cases
I remember when I was tuning for a company, the person in charge sent me a bunch of business T-SQL scripts, I am still calm in the face of massive scripts, although I do not understand the internal complex business, however, we have to
In addition to using the APIS provided by office to search for Word documents, this article briefly summarizes three solutions for searching Word files based on SQL Server's full-text retrieval technology.
1. Full-text search with the Windows Index
Oracle special character escape: & and ', oracle special character escapeWhen we run the SQL show all command in SQL * PLUS, we can find a parameter: define & (hex 26), as shown below:Concat. (hex 2e)Copycommit 0Copytypecheck ONDefine & (hex
T-SQL time operations (dateadd, datediff, datepart, datename), datepartdatename
-- 1. current System Date and Time select getdate () -- 09:27:27. 277--2. the Time Operation dateadd returns the new datetime value dateadd (datepart, number, date)
Mysql_ping () and MYSQL_OPT_RECONNECT MySQL server has gone away "error, mysqlgoneawaySource: http://www.felix021.com/blog/read.php? 2102Yesterday @ Zind found my previous blog (modified), which mentioned mysql_ping and MYSQL_OPT_RECONNECT.The
S skills, Postgres skills
If you need to add indexes when the business volume is large, you need to use CONCURRENTLY. Otherwise, your database will easily break down.
For example
create index CONCURRENTLY idx_order_records_bank_statist_uid on
Memory Database
In traditional database tables, due to the limitation of the physical structure of disks, the structure of tables and indexes is B-Tree, which makes such indexes very weak in the highly concurrent OLTP environment, although there are
In the design of database applications, we often need to obtain the total number of records in some tables to determine whether the total number of records in the table is too large and whether data needs to be backed up. Our common practice is:
As we all know, Oracle time can be directly used for addition and subtraction operations, such
Select sysdate, sysdate-2 from dual"SYSDATE" "SYSDATE-2"-----------------------------------"19-5-09" "17-5-09"
Obviously, sysdate-2
First, create a table emp1 with the same structure and insert some data for it.
create table emp1asselect * from emp where deptno = 20;
Update part of emp1 data
update emp1set sal = sal + 100,comm = nvl(comm,0) + 50
This article will discuss the similarities and differences between simple nested queries and non-nested queries in SQL, through which you can better understand SQL statements.
One day's work was to fix the bug of a project, and then we found that
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