If you want our SQL statements to look beautiful, there is also a lazy method besides your usual attention.
If you want our SQL statements to look beautiful, there is also a lazy method besides your usual attention.
The first online formatting
Here I will introduce two tips for simplifying input when using the MySQL database.
Here I will introduce two tips for simplifying input when using the MySQL database.
1. How to discard the command being entered.
Typing errors are inevitable
I have been busy recently. Today I finally have some time to read technical articles. Recently, I have published a PAPER about the new ORA injection technology abroad. Please test it quickly, the problem mainly occurs when the SQL statement
Note: SID
Note: SID-Database ID HOME_NAME-Oracle Home Name, such as OraHome92 and OraHome81
(1) OracleServiceSID
Database Service, which automatically starts and stops the database. If a database is installed, its default start type is automatic.
Exp downloads the objects in the database as dmp files in binary mode to facilitate data migration.
Exp downloads the objects in the database as dmp files in binary mode to facilitate data migration.
Buffer: the buffer for downloading data, in
Use BULKINSERT to import data in large batches to SQLSERVER. For more information, see.
Use bulk insert to import data in large batches to SQLSERVER. For more information, see.
The following is an example:
The Code is as follows:
Create table [dbo].
Collect and organize intrusion commands to help you learn how to prevent them
Collect and organize intrusion commands to help you learn how to prevent them
1. su-oracle is not required. It is suitable for use without a DBA password. You do not need
Store the maximum Id in a specific table, and retrieve the unique maximum value of each time by record.
Store the maximum Id in a specific table, and retrieve the unique maximum value of each time by record.
The Code is as follows:
Create table
When the database is in use, the redundant data is constantly increasing (data deletion will not be reduced), leading to the increasing number of databases! So it's time to lose weight in your database.
When the database is in use, the redundant
Recently, the company's database found that table data has been removed, and some data tables have records of 0. So I want to find out which data tables in the database have records of 0 to narrow the analysis scope, the following SQLStatement can
SQLServer2005 uses intersect, union, except T and three key words to correspond to the intersection, union, and difference sets.
SQLServer2005 uses intersect, union, except T and three key words to correspond to the intersection, union, and
Design and Development of the Oracle platform application database system
Design and Development of the Oracle platform application database system
The ORACLE tutorial is the design and development of the application database system on the Oracle
Now we need to save the data in the 17, 18, and 19 fields in blob as numbers to the three new fields Gem1Gem2Gem3 added outside blob.
Now we need to save the data in the 17, 18, and 19 fields in blob as numbers to the three new fields Gem1 Gem2 Gem3
Code for restoring a lost data file in oracle
Code for restoring a lost data file in oracle
If you have a cold backup, but one of the data files is missing, but you have all the archives, if you want to restore the data files, you can refer to the
We all know that using the FORXMLPATH statement in SQLServer can generate XML data for the queried data. Below are some examples of its application.
We all know that using the for xml path statement in SQL Server can generate XML data FOR the
Sp_executesql uses a complicated Unicode expression to solve the problem. For more information, see
Sp_executesql uses a complicated Unicode expression to solve the problem. For more information, see
Msg 102, Level 15, State 1, Line 3
Incorrect
There are many ways to achieve the effect. Here we use the regular expression of Js to process it.
There are many ways to achieve the effect. Here we use the regular expression of Js to process it.
The Code is as follows:
/*
-- Set uppercase
DDL statement for obtaining table creation and index by Oracle9i
DDL statement for obtaining table creation and index by Oracle9i
The ORACLE Tutorial we are reading is the DDL statement for Oracle9i to obtain the table creation and index. We all
For the comparison of charindexpatindexlike in sqlserver, you can choose it as needed.
For the comparison of charindex/patindex/like in sqlserver, you can check the options as needed.
I. test environment:
1. Database: SQL Server 2008
2.
Common SQL syntax and Data Objects in ORACLE
Common SQL syntax and Data Objects in ORACLE
1. INSERT (INSERT the record statement into the data table)
Insert into Table Name (field name 1, field name 2 ,......) VALUES (value 1, value 2
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