Today, the customer visited (Japanese) and asked me the difference between DB2 and Oracle. Because it's not a DBA, I haven't really summed it up. But my first feeling: One is instance, one is database. Building Ora libraries and DB2 libraries is not
Reposted from: longtang Bay
1.1.1 obtain the first N records
SQL Server: Select Top N * From xtable
ORACLE: Select * From xtable where rownum
DB2: Select * From xtable fetch first n rows only
1.1.2 obtain the current date
SQL Server: Select getdate
1. Launch instance (DB2INST1):Db2start2. Stop the Instance (DB2INST1):Db2stop3. List all instances (DB2INST1)Db2ilist3-1. List the current instance:DB2 Get Instance3-2. List all databases:DB2 List Database Directory4. Look at the sample
Common DB2 commands
Common DB2 commandsI. Basics1. db2 connect to -- connect to the local database nameDb2 connect to user using -- connect to the remote database2. db2 force application all -- force all applications to disconnect the database3.
DB2 Vs MySQL series | comparison of data types between MySQL and DB2, db2mysql
As MySQL Databases become more and more widely used, there are more and more demands for migration from DB2 to MySQL databases. During database migration, the first
DB2 Common CommandsFirst, the basic article1. DB2 Connect to --Connect to local database nameDB2 Connect to user Using --connect to the remote database2. DB2 force application All--forcing all applications to disconnect from the database3. DB2
The DB2 tutorial being looked at is: DB2 UDB V8.1 Management Learning Notes (ii). Table space types are divided into SMS and DMS, respectively, system management spaces, database management. SMS is easy and easy to use and eliminates the need to
This article mainly describes several of the most common operation methods for updating the DB2 execution plan. Like the Oracle database, the DB2 database also uses an optimizer to analyze SQL statements, generate an Access Plan ). The DB2 optimizer
DB2 supports the following two types of tablespaces:1. System Management Memory table space (Sms-system MANAGED STORAGE)2. Database Management Memory table space (Dms-database MANAGED STORAGE)Comparison of characteristics of SMS and DMS user table
The following articles mainly describe the DB2 external file format. We may often need to process a task in DB2 database maintenance. For example, before the database is put into production and use, a large amount of information needs to be created
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.