Recently, I encountered a server that used Oracle databases. After learning Oracle + for advice, I finally got all the user passwords on the website background management interface. I found it too troublesome to operate oracle, in order to avoid
Select * From dba_views;Select * From user_views;
Desc dba_source; DESC user_source;Select text from user_sourceWhere name = 'your PKG name'Order by line;Union can remove duplicate records, but union all cannot.In Oracle, how does one call a stored
Oracle stored procedure:
The Pag cursor outputs the search results based on the conditions .. Totalcount indicates the total number of queries.
create or replace procedure DataGridPages(p_zcbm in varchar2,p_fwbm in varchar2,p_zcmc in
Although the clob and BLOB fields in Oracle meet the requirements for storing ultra-large content during development, they often cause troubles in some simple usage. Clob stores pointers and cannot directly obtain the actual values. The text field
Skills for using decode () functions in OracleDescription:
Decode(Condition, value 1, translation value 1, value 2, translation value 2,... value n, translation value n, default value)
The function has the following meanings:
If condition =
Method 1:
1. Create an Access database locally and import Excel Data to access. You can right-click Import and choose import from the shortcut menu. Select the Excel file to be imported as the file type, or use the transferspreadsheet function to
Analysis Function over and Window Function
I. analysis function overOracle provides analysis functions starting from 8.1.6. analysis functions are used to calculate a group-based aggregate value. What is different from aggregation
Create or replace procedure ABCDE (MGR in number)AsType t_pubapplyrow is record (V_empno number (4 ),V_ename varchar2 (10));V_mgr EMP. Mgr % type;Type cur_test is ref cursor;Emp_cur cur_test;V_var t_pubapplyrow;BeginV_mgr: = Mgr;Open emp_cur for
1.Get help
imp help=y
2.Import a complete database
imp system/manager file=bible_db log=dible_db full=y ignore=y
3.Import all tables, indexes, and other objects of a specified user.
imp system/manager file=seapark log=seapark fromuser=seapark
In real projects, you may need to use batch files to execute SQL files. The following describes how to use bat batch processing files to call independent SQL files and stored procedures in databases.
I. the BAT file calls the SQL File
First, create
In work, you often need to determine the type of columns in the table according to the actual situation. The following table records the description of column types in oralce.
Field Type
Description
When I used orcle today, I found that the system prompts that the account was locked when logging on to the system account (or another account). I checked the information and found the solution to the problem as follows:
CMD
C: \ Documents ents
This chapter will gradually explain the installation of Oracle 11g R2 and some problems encountered during the installation process. My installation environment is as follows:
OS: cent OS 6.2;
Oracle 11g R2;
VMware 7;
1. Create Oracle user
Oracle
Used to use Microsoft SQL server2005 to write T-SQL, suddenly use Oracle to use PL/SQL to write SQL statements, I feel a lot of details are different, a fuzzy query writing is completely different
T-SQL Writing Method:Code
Code highlighting
Efficient Paging for Oracle database queries
Due to the influence of web page rendering speed, in the C/S program, the type of grid containing thousands or tens of thousands of lines of data is basically invisible on the web page, therefore, it is
Http://blog.csdn.net/jisuanjixu/article/details/1741965excerpt s
1. Stop the Oracle listener immediately after it is started.
TNS-12545: the connection failed because the target host or object does not existTNS-12560: TNS: protocol adapter error.TNS-
C # application of calling methods and stored procedures in Oracle package
23:01:21 | category: SQL/Oracle | label: | large font size, small/medium subscriptionThe following describes how to call the Oracle package in C #, including the package
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