32-bit SQL connection to Oracle
See this article.Article
Http://www.cnblogs.com/jjiac/archive/2008/07/03/1234643.html
It is worth mentioning that the "New linked server" mentioned in this article is located under the "Server Object" on the
$ LSNRCTL start
Error message:
the listener supports no servicesthe command completed successfully: the following error occurs when the remote connection is started: Oracle ORA-12514: TNS: Listener does not currently know of Service requested
SQL> startupORA-01078: Failure in Processing System ParametersLRM-00109: cocould not open parameter file '/opt/Oracle10g/product/10.2/db_1/dbs/initora10g. ora'
The file does not exist. It is estimated that the shutdown is caused by illegal
View Oracle character encoding:SQL>Select * From nls_database_parameters;
Follow these steps:
SQL> shutdown immediate;/* shut down the database to re-mount and log on */
SQL> startup Mount; SQL> alter system enable restricted session; SQL>
If Oracle client x86 is installed, the system. invalidoperationexception error is returned when you access the Oracle database using. Net: badimageformatexception is thrown when you attempt to load the Oracle client database. This problem occurs
When I came back at noon yesterday, there was still a drizzle on the streets of Beijing! Fortunately, Oracle thought very well. No one gave me a small gift after we filled out the meeting evaluation form! When I arrived, I gave me a wooden umbrella!
We often handle errors like this in Oracle stored procedures:
Declare
V_errorno number (10 );
V_errormsg varchar2 (255 );
Begin
-- Some SQL here
Exception
When others then
V_errorno: = sqlcode;
V_errormsg: = sqlerrm;
Rollback;
Return;
Http://space.itpub.net/13316/viewspace-468368
After the National Day, the power station crashed,OracleIt is about to be restored.After recoveryWindowsAfter the system is installed, Oracle8i is installed and DB recovery. The recovery
We organized a technical salon on Oracle databases at on Saturday, September 8. gao Guoqiang was "Bundled" by me as a guest lecturer. (I am very grateful to him for his support for our activities, as well as the careful preparation of the PPT and
Oracle Performance Tuning practices
In many cases, when the application administrator notifies us that the application is slow and the database is slow, when we go to the database, we do a few examples of select and find the same problem,
1. Sessions
Among the restrictions set by initialization parameters, the most well-known estimates are sessions and processes.
The sessions parameter specifies the number of concurrent users that can exist in an instance at the same time, or the
It takes three steps to start the Oracle database. When we directly enter startup to start the database, the database has implicitly executed the three steps together.
In fact, the Oracle startup process includes the startup routine, loading the
Requirements for installing Oracle 10gr2 on rhel_oel 5 (x86) [ID 419646.12.16.htm
Requirements for installing Oracle 10gr2 on RHEL 5_oel 5 (x86_64) [ID 421308.12.16.htmRequirements for installing Oracle 10gr2 RDBMS on RHEL 5 on Linux itanium (IA64) [
Tomcat4 (5) provides an initialcontext implementation instance that is compatible with Java Enterprise Edition application services. Its initial data is set in the $ catalina_home/CONF/server. xml file. And may be referenced by the following
Start listening: LSNRCTL start/stopStart the service:Su OracleSqlplus/nologConnect/As sysdba(Start :) startup (stop: shutdown immediateOemapp dbastudio open the Enterprise Manager GUIOpen the graphical interface of the enterprise manager on the
SQL> Conn/As sysdbaConnected to an idle instance.SQL> startupOracle instance started.
Total system global area 276824064 bytesFixed size 778736 bytesVariable Size 137371152 bytesDatabase buffers 138412032 bytesRedo buffers 262144 bytesORA-01102:
A view can be simply considered as an alias for a query:
It can restrict data access and simplify queries.
The statements for creating a view are as follows:
SQL Server:Create view empv20 as select * from EMP where deptno = 20; Modify View:
Alter
Method 1:
1. Both commit and rollback can be unlocked in the current session.
2. Pass
Search for user locks
Select S. username,
Decode (L. type, 'TT', 'table lock ',
'Tx ', 'row lock ',
Null) lock_level,
O. Owner, O. object_name, O. object_type,
S.
1. Switch users and log on:
Conn system/password @ myoracle as sysdba; myoracle is the database name or service name. As sysdba logs on as an administrator. If the database name is not added, a protocol adapter error may be reported. If you have
I have summarized some SQL skills in some SQL tips. Please take a look.
1. Scope of use in caseI wrote a query like this:
Selectcase avalue when avalue = 0 then' no data 'when avalue> 100 then' out of range 'when avalue
This query is
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