31. How can I modify the editor under sqlplus?
Define _ editor = "" -- you must add double quotation marks to define the new editor. You can also write this in $ ORACLE_HOME/sqlplus/admin/glogin. SQL to make it permanently valid.
32. What are
61. How to view which of the following statements are available in Oracle?ProgramRunning?
View the V $ sessions table
62. How can I see the number of tablespaces in the database?
Select * From dba_tablespaces;
63. How do I modify the number
Asp.netProgramAfter compilation, it is published to IIS. One common problem is that it cannot connect to the Oracle database, as shown in the successful configuration of the local Oracle Net service; you can use PL/SQL or other tools to connect to
I have been using Linux Crontab and suddenly want to use Oracle to write a simple job.
Create Table Test (Car_no varchar2 (30 ),Car_info_id number );
Create or replace procedure pro_testAsCarinfo_id number;BeginSelect test_seq.nextval
Transport: http://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html
In section 2.2, add the database dump command: (import the database dump using the command below .)Impdp "'" sys/admin123 @ sampledb1 as sysdba "'"
Oracle memory database TimesTen is a relational database optimized for memory, which is an applicationProgramProvides real-time responsiveness and extremely high throughput required by today's real-time enterprises and industries (such as
The following is an explanation of the autotrace parameter:
Option description
Set autotrace on outputs the execution results, statistical information, and execution plan information at the same time.
Set autotrace off disable the execution
To create a synonym for this user, you must have the "Create synonym" permission;
To create a synonym for another user, you must have the "create any synonym" permission;
If you create a public synonym, you must have the "Create public synonym"
91. How to estimate the number of I/O executed by SQL?
SQL> set autotrace on;
SQL> select * from table;
Or
SQL> select * from V $ filestat;
I/O count can be viewed
92. How can I change the field size in sqlplus?
Alter table table_name modify
111. Is the minimum integer greater than or equal to N returned?
Select Ceil (n) from dual;
112. Is the minimum integer less than or equal to N returned?
Select floor (n) from dual;
113. Return the last day of the current month?
Select last_day
121>. Write the date at the time point:
Select to_char (sysdate, 'dd') from dual;
122>. Write the time point:
Select to_char (sysdate, 'hh24') from dual;
123>. Write the time points:
Select to_char (sysdate, 'mi') from dual;
124>. The second
11. How can I obtain the script for creating triggers, processes, and functions?
Desc user_source
User_triggers
12. How do I calculate the space occupied by a table?
Select owner, table_name,
Num_rows,
Blocks * AAA/1024/1024 "size m ",
Empty_blocks,
0. Create an environment
SQL> create usertest identified by test 2 default tablespace users 3 temporary tablespace temp 4 quota unlimited on users;User created.SQL> grant createsession, resource, alter session to test;Grant succeeded.SQL>
Source: Network/Editor: getting started with programming: Unknown
Software environment:
1. Operating System: Windows 2000 Server
2. Data Base: Oracle 8i R2 (8.1.7) for NT Enterprise Edition
3. installation path: C:
Copy the following address to Xunlei to download it, including the latest 10.2.0. 5 patch Release ORACLE 9iOracle9i Database Release 2 Enterprise/Standard/Personal Edition for Windows NT/2000/XPhttp: // Login Acle9i/9201/92010 NT_Disk3.zipOracle9i
I. Connecting SQL Server to Oracle1. Configure the ODBC data source for Windows:Choose "start"> "Settings"> "Administrative Tools"> "Data Source (ODBC)"> "Configure user DSN" or "system DSN:Add-select Microsoft ODBC for Oracle-Custom Data Source
Create a stored procedure script file, such as test. SQL
Create or replace procedure DIS_1AsI integer;BeginDBMS_OUTPUT.PUT_LINE ('Hello Beijing ');End;/
Note the last/Character
SQL> @ test. SQLProcedure created.
SQL> set serveroutput on
SQL> exec
The ROW_NUMBER () syntax is as follows: 1. row_number () over (order by column desc) first returns a serial number for each record in descending order for the column: select d. *, ROW_NUMBER () OVER (order by d. R _ OPATE_NUM DESC) AS region FROM
When Vista is installed with oracle10g, there are many problems, especially the database cannot be established. In the end, I found myself so stupid that I could immediately pull another version for vista.
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