drop table and purge in oracle database actual example: create OR REPLACE PROCEDURE pro_droptable is Cursor cur is SELECT table_name from user_tables where table_name like ' temptable% '; drop_s QL VARCHAR2 (; table_number
1. Exporting Oracle DataA. Exporting data using the command lineExp Username/password @database file= fullpath (eg: D:\data.dmp) full=yB. Exporting data using tools (Plsql Developer)2. Importing Oracle Data A. Importing data using the command line(1
Dept Department tableClassification of SQL statements1 Data Manipulation Language DMLInsert (record inserted)INSERT INTO Dept (DEPTNO,DEPTNAME,LOC) VALUES (28, ' teaching department ', ' Zhuhai ')Update (Modify record)Update Dept Set deptno=38 where
1. Check that the database has full-text indexing (this is for a database that is already in use)See if there are Ctxsys users in the user, and whether the Ctxapp role exists in the query role. 1 of the above two are not satisfied (not present),
In the previous article we explained the creation of users and basic licensing issues, let us explain the permissions include object permissions and system permissions.In fact, the last lesson we explain is the system permissions, system permissions
CREATE TABLE t2 as select * from Dba_objects;
Build index:Create index idx_t2 on T2 (object_id);2. Collect statistics for all the columns and all indexes on the table for the T2 table:EXEC dbms_stats.gather_table_stats (ownname=> ' SYS
1. Querying the table space names in the database
1) Querying all table spaces
Select Tablespace_name from Dba_tablespaces;Select Tablespace_name from User_tablespaces;
2) query The used table space
Select
1. General processCreate or Replace procedure P1AsBeginDbms_output.put_line (' Hello world ');End--CallCall P1 ();2. Receiving parametersCreate or Replace procedure P2(p_name varchar,p_age in int)Asv_id int;BeginSelect Max (ID) into v_id from stud;V_
Scenario Description: Sometimes we may not know a user's password, but also need to do some of the user's identity to do some operations, and can not modify the user's password, this time, you can use some tips to complete the operation.Original
Oracle Stored Procedure Definition and debugging, and finally called code by C #
C # Call a stored procedure
I have read a lot of articles and wrote the following text to share it.
Purpose: To change the credits and perform a certain
One-click installation of ORACLE Database creation script
I recently learned shell and wrote it for practice. I only posted a part of it and it cannot be used directly. But it can be used as an example.
#! /Bin/bashSETPASSWD () {# set passwordexpect-
An error occurred while checking the network configuration requirements when installing the Oracle database.
Error message:
Checking Network Configuration Requirements... check complete. The overall result of this check is: Failed
Tip: configure
OracleSolaris and pcidss
Today on the Oracle official website to search for pci dss, unintentional search for Oracle Solaris information about pci dss (see the following url: https://docs.oracle.com/cd/E56344_01/html/E53940/makehtml-id-4.html ),
Create scott/tiger at the beginning of Oracle for test. scotttiger
Install oracle11g database software on redhat5.5 (32bit), install a database, log on to the database, and create scott/tiger for testing.
First, log on to the database. The database
Usage of rownum in Oracle
There is a product table. If you are required to query the first five items on the latest date of release. How do you write your SQL statements? Determine the conditions before sorting? Error.
The idea is simple, that is,
There are three methods for starting/disabling oracle services, and three methods for oracle.
There are three ways to start the oracle service:1 slave control panel2 Use MS-DOS commands3. Use Oracle Administration Assistant for WindowsNT
-Start the
Oracle password management allows a user to log on up to three times
If a user fails to log on three times in a row, the user is locked for two days. After two days, the user can log on again.Create a profile file:Update account:
After three logon
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