I feel that their thinking logic is not normal.
Problem 1:
Select all persons whose names are not empty in the table
In Microsoft's MSSQLServerSelect * From person_name where person_name <> '';Select * From person_name where person_name is not
Select package_id result1 from package where package_id not in(Select package_id from package where package_id in(Select package_id from work_plan_sum));
Select package_id result2 from package where package_id not in(Select package_id from
There are three possible reasons for this situation.
1. Is the machine with Oracle installed NTFS? If yes, grant all bin permissions under \ ora81 to all users.(Otherwise, this error will be reported due to no permission to access the directory in
The RedHat Linux As5 + Oracle 10 RAC deployed at the customer's site can be accessed normally after installation. After the customer changed the Sys password, they mounted the em on the web. The English version of this newspaper"
The database
1. Oracle does not have the bit type. Use number (1) instead.
2. decimal, money, int type, also use number instead.
3. Use | as the operator to add strings.
4. Add N as the Chinese string.
5. Use nvl instead of isnull in SQL Server.
6. The left
When using toad to operate Oracle databases, you will notice that there are four types of constraints when creating constraints: primary key, check, unique, and foreign key. This is no different from the constraints in SQL Server, in addition to the
Difficult to type. Let's look at flash.
Hibernate can implement paging query, for example:
Retrieve 2nd records from 100 records
Query q = session. createQuery ("from Cat as c ");Q. setFirstResult (20000 );Q. setMaxResults (100 );List l = q. list ();
Oracle UCM11g binds the application server to Weblogic, but how to use external LDAP as a security provider is not detailed. The official documentation only describes how to configure Oracle Directory Manager, I don't want to use IDM, which is a
After a long period of time, I did not write a program that uses. Net to access Oracle. After writing it, I found that ODP. Net is basically a mainstream choice. There is no difference in syntax anyway. Write the statement and start compiling with F5
1. Install the transparent gateway of oracle.
Select custom installation FOR Oracle Installation, then install transparent gateway, and then choose to install components for SQL Server.
Note that only MS-SQL Server 2000 is supported for Oracle 9i,
In development, for ease of management, the SQL statement of each stored procedure and function may be placed separately in one. in the SQL file, N more. SQL file, if you need to execute these files, it is very troublesome, so you have a way to
1. debug the process in the Oracle database
OracleThe process debugging format is:
Declare
Param_int integrate;
Begin
Null;
-- Operate the data
End
SQL server process debugging format:
In the SQL server process, you can write SQL statements
Deployment Environment Description:
OperationWorkSystemUnified: Window 7
OracleManage applications: Pl SQL
1. Select the Oracle version that supports Windows 7 and download it.
Currently, the oracle version that fully supports Windows 7 is 11.2
Due to project requirements, the company needs to migrate the database of some projects to Oracle, and almost all of them use SqlServer. Suddenly, 2 ~ Three years of experience in SQL Server development and use has not actually brought me much
Here is a simple record.:
Record 1: N was installed with Oracle 10 a long time ago. I logged on again two days ago and found that the login failed. I always reported an error such as the host does not exist. As a result, the database was reinstalled,
Note:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->To support the introduction of open-source series indexes in the CYQ. Data framework CYQ. Data lightweight Data layer, we continue to work
We usually use a 32-bit PC, So we installed Oracle32-bit clients. However, the servers are usually 64-bit and the 64-bit Oracle client is installed. If you want to deploy an application that uses Oracle. DataAccess to connect to Oracle, you may
Document directory
ORA-00020: maximum number of processes (150) exceeded
Today, the Oracle database encountered a problem. When a user logs on to the database using a client, an exception is thrown:ORA-00020: maximum number of processes (150)
1. You can use sp_Who in MSSQL to obtain the connection username information,
2. Oracle also has similar system functionsCode
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->SQL> select count (*)
When we use select sysdate + number from dual;, we get the current time plus the number day time. We can also see that the unit of time calculated in this way is day. If we want to obtain the system time plus a few hours, how should we calculate it?
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