Vector returned = bqueryclient. queryvaluebysql ("select func_foo (A, B) from dual"); hashtable table = (hashtable) returned. get (0); // The returned value is a vector with a table bigdecimal dec = (bigdecimal) table. get ("func_foo"); // the
Union: Perform Union operations on two result sets, excluding duplicate rows, and sort the default rules at the same time;
Union all: Perform Union operations on two result sets,Including duplicate rows,Do not sort;
Intersect: intersection
An error is reported when updating table partition fields, because partitions generally specify different tablespaces. When updating a field's exaggerated Partition Rules, you must:
Alter table ** enable row movement;
In this way, you can update
V $ Session V $ session_waitV $ ProcessV $ SQLV $ sqltextV $ BHV $ lockV $ latch_childrenV $ sysstatV $ system_event
Important performance views by group
1. System over ViewV $ sysstat, V $ system_event, V $ Parameter
2. Current situation of a
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
When creating a user, there is a default tablespace parameter. You can view the view database_properties to see the corresponding information.
SQL> select a. property_name, A. property_value from database_properties A where a. property_name like '%
Oracle interview questions-Technical Article (2)
21. How to determine the time zone of the database?Answer: Select dbtimezone from dual;
22. Explains the purpose of setting global_names to true.A: global_names indicates how to connect to the
The following methods are mainly used for storing and migrating massive data. The test methods and results are for reference only. Theoretically, attaching data to a local table will produce a large amount of redo data (and a small amount of Undo
Source: Network/Editor: getting started with programming: Unknown
The crystal report version is 8.5
The stored procedure is:
create or replace package pkg_test4astype v_cursor is ref cursor;end pkg_test4;/create or replace procedure
Source: Network/Editor: getting started with programming: Unknown
I do not know how to debug the stored procedure when writing it. One debugging method is to print the value of the variable in the program. in Java, the value is
Jin this article mainly introduces the configuration of the database connection pool in tomcat4.0.6 and tomcat4.1.18, and the process for searching the JNDI of the connection pool, and provides the corresponding test code. At last, it points out the
Before starting, we need to briefly describe several projects in the company that use ORACLE as the database platform, and some projects use Oracle's database replication technology, which also encountered some problems, so here, I will talk about
I have been reading books on JavaWeb recently and learning about jsp-related topics. No matter what you learn, you will encounter problems related to database connection. In addition, if you do not fully understand it, it will be a long time for you.
Aggregate functions:Count sum max min avgCount the number of rows in the returned result setSum max min avg. However, the aggregate function emphasizes "result set ...... ", EmphasizedThe current operation object is the result set.Note that NULL
Exercise 1
1. query the structure of the dept tableIn the command window, enter:Desc dept;
2. Retrieve all column information in the dept tableSelect * from Dept
3. Search for the employee name, monthly income, and department number in the EMP table.
I recently learned about Oracle databases and encountered some minor problems during the installation process. Although it was a minor problem, it made me spend a lot of energy trying to sum up and finally solved the problem, the mood is
Typical use of tablespace creation:
Create tablespace ts_name datafile 'd:/oracle/.../xxx. dbf' size 1024 m autoextend on next 500 m maxsize unlimited;
View the information of the existing tablespace:
Select upper (F. tablespace_name) "tablespace
Common oracle string functions:
Searches for string matching and returns the start index of matching.
Instr (source string, target string, start position, matching serial number ):
Source string: Nothing to say
Target string: the string to be
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