--Date related functions--1.day (Date_time), returns an integer that represents the day in the datepart of the specified date. Month (date_time), year (date_time) similarSELECT Day (GETDATE ())--returns 23--2.datepart (Datepart,date) that returns
There is such a view, probably as follows:
This view can only be compiled successfully in a 10g,11g environment and cannot be compiled in 9i environments.
The code is as follows
Copy Code
Select a.*,b.*From (select
In Oracle version 12.1.0.1, the business PDB cannot be automatically open during the CDB database startup, and if you want to implement this feature, you need to write a trigger to implement the CDB open, and the PDB will open. In 11.1.0.2 and later
Today when you do the project to achieve paging functionality, previously only on MySQL, Oracle has not tried, but know that there is such a rownum this thing.
But this thing is not so easy to use, there are quite a lot of places to pay
The data in the updated table of the UPDATE statement. The following information is specified in the UPDATE statement: This is changing the table name, a local record is changed, a list of column names, giving them new content values, depending
--Create a test table
code is as follows
copy code
Create Table T_a (ID number); --Insert data directly using loops Begin for I in 1..100000 loop INSERT INTO t_a (ID) values (i); End Loop; End; --
First, the query table basic information
Select
Utc.column_name,utc.data_type,utc.data_length,utc.data_precision, Utc.data_scale,utc.nullable,utc.data_default, Ucc.comments
From
User_tab_columns utc,user_col_comments UCC
where
Utc.table_name =
D:>set Nls_lang=american_america. We8iso8859p1D:>setDirect SET command to view environment variables2,Under D: Create the A.sql file, which reads as follows:Create or Replace procedure test1 (i in number) asBeginDbms_output.put_line (' input
User name / Password
Logon identity
Description
class= "MsoNormal" >sys/change_on_install
sysdba or sysoper
cannot be normal login, as the default system administrator
class= "MsoNormal"
UNIX shutdown order, first shut down the database, then the operating system, and finally the power downOnly users with SYSDBA and Sysoper system privileges can start and close the database.You should start the listener before you start the database,
Connecting to an Oracle database is simple, as follows
The code is as follows
Copy Code
Connectionstring= "PASSWORD=CZH; User id=czh;data source= (description= address_list= (address= (protocol=tcp) (host=192.168.168.211
The editor reminds you of several notes.1. Configure. net to debug web applicationsIf the installation disk is FAT32, you must change the settings in IIS. IIS-> default web site (right-click)-> all tasks-> Configure Server extensionIf the mounting
A. Username system password linuxman export to D:/linuxidc. dmpExp system/linuxman @ SID file = d:/linuxidc. dmp full = yB. Export the tables of system users and sys users in the databaseExp system/linuxman @ SID file = d:/linuxidc. dmp owner =
If the ORACLE data file on the EXT4 file system is accidentally deleted, consider the following two recovery methods:Use testdisk to restore data files from the perspective of the file systemUse prmscan to restore data files from the perspective of
The operating system version is Solaris 10. After installing the 11.2 grid, there is no problem with installing the 11g RAC database. But when installing the 10g RAC database, the progress bar to 50% always reports the Error of the OUI-35000 Fatal
Before 12.1.0.2, use startup trigger: The code is as follows:Copy code -- Create startup trigger in CDBCreate trigger open_all_pdbsAFTER STARTUPON DATABASEBEGINExecute immediate 'alter pluggable database all open ';END open_all_pdbs;/Use PDB
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