VBA Connection Oracle needs to add references:After that, the connection string is: Provider = msdaora.1; password=******; User Id=xxxxxxx;data source=dbid; Persist Security Info=trueThen use the standard package of ADO, 1, use ado.connection, open
1. Use arithmetic expressions to perform operations on the data during queryThe student table structure is as follows:The last salary represents each person's monthly salary, I now want to inquire each person's annual salary:2. Use the NVL function
--Count The length of stringSelectLENGTHB ('SELECT * from Scott.emp') asCountted_by_byte, Length ('SELECT * from Scott.emp') asCountted_by_char fromdual;--for some character encoding, the length () and the LENGTHB () are same in 中文版--feature to
Get information about a tablecan be directly describeDESC[RIBE] table_name;You can use the data dictionarySELECT * FROM User_tableswhere table_name =xxxx; [or WHERE table_name in (' xxxx ', ' xxxx ')]Renaming a tableRENAME Table_old_name to
Http://www.jb51.net/article/42369.htmSql:charindex (' String ', field) >0 charindex (' Administrator ', Muserid) >0Oracle:instr (field, ' String ', >0) InStr (Muserid, ' Administrator ', ") >0In the project, we used the function of INSTR in Oracle,
Oracle's memory configuration is tied to Oracle performance. In general, it can be divided into two chunks: the shared portion (mainly the SGA) and the process-exclusive portion (mainly the PGA). In Oracle versions under 32-bit operating systems, it
Generating random data under SQL Server is much more dry, but I'm stupid under Oracle. Not used Oracle, do not know what to do? SQL Server relies on tablesample or checksum (NEWID ()) for random sampling, and Oracle has its own random sampling
The following are Oracle Master quotations:
Oracle Database developers should follow is to do everything they can in SQL. What they cannot does in SQL, they should does in PL +. And what they cannot does in PL/SQL, they should do in
1.Sequence
n automatically generates a unique number n is a shared object n A typical primary key applied to a table N Alternative application code N Place the serial number value in the cache to increase access speed
The current summary of the statement, in view of the data connection is very useful, after writing the program while testing the code side to see the release of database connections to help optimize the analysis of a robust system program.1.SQL code1
--create a stored procedureCREATE OR REPLACE PROCEDURExxxxxxxxxxx_p (--The parameter in represents the input parameter, out represents the input parameter, and the type can use the legal type in any Oracle. Is_yminch CHAR) as--Defining
After successfully installing the Oracle 11g database, you will find that your computer is running slower, that your computer is running faster with a lower-profile PC or even a very card-enabled Oracle service. So, how do you do it
Oracle optimizes or replaces several words in, exists, and union. Test No problem!Select the appropriate statement according to the actual situation. Assume exponential, or full table scan, in and not in should be used with caution. Doing so will
A Installing OracleSTEP1 Download the Oracle compressed package and unzip it to the same folderSTEP2 Double-click setup.exe to installSTEP3: Enter the following interface configuration:Do not fill in the mailbox, remove the updateIn addition to
A Installing OracleStep1 Download the Oracle compressed package and unzip it to the same folderSTEP2 Double-click setup.exe to installSTEP3: Enter the following interface configuration:Do not fill in the mailbox, remove the updateIn addition to
Oracle & amp; mysql Log InformationPreface The log information here refers to the log information used to perform command operations on the command line.Oracle1. Import and Export: imp omjx/ppet1205 @ xforcl full = y file = full path \ xf. dmp log =
[SQL entry level] First day of SQL preliminary, first day of SQL entry level
SQL statements are categorized into the following types:
DML: Data Manipulation Language
DDL: Data Definition Language
DCL: Data Control Language
1. Basic
Oracle442 application scenarios ---------- database instances
The Application Scenario 1-7 is the installation process of Oracle. Here, I will explain a lot about it. There are a lot of materials on the Internet and it may be added
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