Sort after adding nulls last in descending order, put null in the finalSelect To_char (sysdate, ' Q ') from dual;Dual pseudo-table public synonym because it has a record for easy readingSelect RowNum, ' A ' | | Rownum,mod (rownum,2) from dual
Stored procedures with no parameterssql> Create or replace procedure Get_time is2 begin3 Dbms_output.put_line (sysdate);4 End;5/Procedure created.sql> exec get_time;15-may-17PL/SQL procedure successfully completed.Stored procedure with in
#静态游标指的是程序执行的时候不需要再去解析sql语言, the parsing of SQL statements can be done at compile time.Because the dynamic cursor contains parameters, parsing of the SQL statements must wait until the parameters are determined to complete.From this point of view,
1, with the DBA role of the user login, unlock, first set the specific time format, in order to see the specific timeSQL>alterset nls_date_format='yyyy-mm-dd hh24:mi:ss '; Session altered.2, check the specific lock timeSQL>Selectfrom where username=
Oracle Login ora-01033:oracle is initializing or shutting down the workaround2015-03-16 01:20 | 160511 people reading | sourceOracle Login ora-01033:oracle is initializing or shutting down the workaroundOracle has multiple instancesThe corresponding
Colleague recently in busy data consistency than work, need to different text files in the comparison of data, some files larger, more records, if the ordinary text editor open, it is obvious that will be very card, even can not open.Based on this,
Cursor classificationAn implicit cursor:For select: Into ... Statement, only one data can be fetched from the database at a time, and for this type of DML SQL statement, the implicit cursorSelect Update/insert/delete operationTo display a
Http://www.dba-oracle.com/t_find_size_schema.htmQuestion: How does I find the size of a schema in my database?Answer: It depends on what you define "size". If you want the total disk space consumed by the schema (including indexes, tablespace free
Orange + soda = orange soda, ∑ (? д?ノ) Dentetsu good boring!!!Turkey + Grill = roast turkey,? (´?`?) Not bad.Wm_concat () + table field query = (?ω?) What would it be?
The Wm_concat () function, which separates the column values by the ","
Follow the configuration of your machine
Processor configuration
Follow the configuration of your machine
Memory for this virtual machine
Network type
Select I/O Controller type
Select disk Type
Select disk
Oracle 10G DBCA ORA-03113 ORA-27102Scenario Description:1. installation, when running Runinstaller, install software and no error;2.DBCA, run to 4%, error ORA-03113 ORA-27102;3. I started from ORA-03113 analysis, is the network problem, after
ORACLE: Enquiry ( See ) table primary key, FOREIGN key, uniqueness constraint, and index1. Find all indexes of the table (including index name, type, constituent column)Select T.*,i.index_type from User_ind_columns t,user_indexes i wheret.index_name
1.oracle Uninstall
If this is a newly installed one, skip this step
1 Uninstall steps:2 1. Stop All services3 2. Remove all directories with your own delete software4 3. Open the Registration form:5 --run regedit, delete
Create Oracle directory, login with user SqlplusCreate or replace directory dpdata1 as '/a/b ';
Grant permission, dba Login SqlplusGrant Read,write on directory dpdata1 to user;
Exporting DMPA. Export by table, under Bin directory./EXPDP User/[
The first time in their own computer to connect to the remote database, tried a morning unexpectedly did not succeed, and then found on the internet a bunch of methods finally connected to the-_-!!Summary: simple operation; one stepI mainly use the
--cmd Import and Export database BMP file 1. Execute the statement in the query result ( select ' ALTER TABLE ' | | table_name| | ' allocate extent; ' from User_tables where num_rows=0 '2. Then execute cmd = = "Import: Imp admin/[email protected]
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