When I was writing SQL statements recently, I encountered two problems:1) ORA-01795: Maximum number of expressions in a list is 1000Cause: the SQL statement select pallet_id, box_id, status from sd_current_box where pallet_id in ('"+Pallets+ "');
I used Microsoft's ssma for help, but currently only tables can be used for conversion, and others need to be manually modified ,--
Oracle can query appserviceinfo @ aspdb and call tables of other databases. SQL: aspdb. DOB. appserviceinfo
In the Oracle database, when the data queried is large, it needs to be formatted. Otherwise, "####" is displayed when the result is converted to a string.
Select
Rtrim(To_char (
5279.59
*
100
*
30,
'
Fm9999999990.9999
'),
'
.
')
After a 64-bit Oracle 10g Database is installed on the 64-bit win2003 operating system, you can connect to the database using PLSQL over the network, but the server cannot connect to the database.Solve the problem as follows:1. Install the 32-bit
I wrote.
Save point(Savepoint)Is a sign in the transaction processing process, and the rollback command(Rollback)In combination, the main purpose is to allow users to roll back a certain segment without having to roll back the entire transaction.
SetTableThe ID of the t_uaer field is setAuto-Increment(Implemented using the sequence method)
---- CreateTableCreate Table t_user (ID number (6), userid varchar2 (20), loginpassword varchar2 (20), isdisable number (6 ));
---- Create sequence
I have been using sqlserver and have no chance to access Oracle. In the past few days, I have installed Oracle 9i and installed it in my previous notebook, today, I installed it on my desktop again. An error was reported when the installation was
Recently, after the local Oracle software was deleted, the database was not deleted. Several problems were found after the software was reinstalled.1. Although the database files and log files are still in the control file,However, password files,
1. Length and lengthb
Both of the above functions are used to obtain the length of the string, but the returned results may be different. The length units returned by lengthb are bytes rather than characters. Length indicates the number of
We all know that Oracle itself does not have the split function. We have found a better solution on the Internet. Copy it here for future use.
Fn_split
Code highlighting produced by Actipro CodeHighlighter
2 CPU and 4 GB memory on the serverSGAShared Pool 384 mBuffer high-speed cache 1008 mLarge pool 64 mJava pool 32 mTotal SGA capacity 1489.209 mThe maximum size of SGA is 1521.471 MB.
PGATotal PGA target: 800 mb
Parameters
Control_files =
1. VB.netCodeAs follows:
Dim ss as string'Specify the connection string => 0 KSs = "(description = (address_list = (address = (Protocol = TCP) (host = 192.168.77.128) (Port = 1521) (CONNECT_DATA = (SERVICE_NAME = orcl )))"'Specify the name of the
Two days ago
ASPProgramAn unexpected problem occurred many times when accessing the Oracle database. The problem and solution are summarized as follows:
1. The service name used when connecting to the database may exist with the
"(+)" Can be used in Oracle, and 9i can use left/right/full outer join.Left Outer Join: left Outer JoinSelect E. last_name, E. department_id, D. department_nameFrom employees eLeft Outer Join orders ments dOn (E. department_id = D. department_id
Several well-known result set operation commands have been tested in detail today, and some problems have been found.
Suppose we have a table student, which includes the following fields and data:
Drop table student;
Create Table student(Id
Oracle databases are difficult to install, and it is not as easy to uninstall as Microsoft products. The control panel does not unmount oracle9.Program. You can choose "start"> "program"> "Oracle Installation products-universal installer" to go to
1. Database Name
Database
It is a database identifier, just like a person's ID card number. He uses the db_name parameter to indicate that if multiple full databases are installed on a machine, each database has a database name. After the database
[Oledb]; Everything after this line is an ole db initstringProvider = OraOLEDB. Oracle.1; Password = 840616; Persist Security Info = True; User ID = SYSTEM; Data Source = orcl[Oledb]; Everything after this line is an ole db initstringProvider =
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.