- 浏览: 1385223 次
- 性别:
- 来自: 北京
-
文章分类
- 全部博客 (551)
- 计划 (4)
- java (115)
- oracle (60)
- ajax (3)
- javascript (64)
- 计算机操作技巧集 (11)
- 近期关注话题 (10)
- 随想 (13)
- html (6)
- struts (15)
- hibernate (16)
- spring (2)
- game (0)
- Eglish (10)
- DisplayTag (6)
- jsp (18)
- css (3)
- eclipse (3)
- 其他知识 (8)
- 备用1 (12)
- 备用2 (1)
- 笑话-放松心情 (9)
- 设计 (1)
- 设计模式 (1)
- 数据结构 (0)
- office办公软件 (5)
- webwork (0)
- tomcat (2)
- MySql (1)
- 我的链接资源 (5)
- xml (2)
- servlet (0)
- PHP (13)
- DOM (0)
- 网页画图vml,canvas (1)
- 协议 (2)
- 健康 (3)
- 书籍下载 (1)
- jbpm (1)
- EXT (1)
- 自考 (2)
- 报表 (4)
- 生活 (64)
- 操作系统基础知识 (2)
- 测试 (2)
- guice (1)
- google学习 (2)
- Erlang (1)
- LOG4J (2)
- wicket (1)
- 考研 (1)
- 法律 (1)
- 地震 (1)
- 易学-等等相关 (1)
- 音乐 (1)
- 建站 (4)
- 分享说 (3)
- 购物省钱 (0)
- linux (1)
最新评论
-
zenmshuo:
如果使用SpreadJS这一类的表格工具,应该能更好的实现这些 ...
js中excel的用法 -
hjhj2991708:
第一个已经使用不了
jar包查询网站 非常好用! -
jiangmeiwei:
...
中文乱码 我的总结 不断更新 -
gary_bu:
...
response.sendRedirect 中文乱码问题解决 -
hnez:
多谢指点,怎么调试也不通,原来我在<body>&l ...
ExtJs IE ownerDocument.createRange() 错误解决方案
摘自http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.admin.doc/doc/t0004676.htm
Verifying the installation of DB2 servers using First Steps (Linux and Windows)
You should verify that the DB2(R) server installation has completed successfully by accessing data from the SAMPLE database.
Prerequisites
* You must have the Control Center and the First Steps component installed to perform this task.
First Steps is listed as a getting started component in the feature selection window in the DB2 Setup wizard. It is installed as part of a Typical installation or may be selected when performing a Custom installation.
The Control Center component is only available on Linux(TM) (x86 and AMD64/EM64T only) and Windows(R).
Procedure
1. On Linux, log on to the system as the instance owner.
2. On Windows, click Start and, select Programs -> IBM DB2 -> [DB2 Copy Name] -> Set-up Tools > First Steps. On Linux and Windows, you can start First Steps by typing the db2fs command.
(注意:要以拥有实例的用户[例如:db2inst1]登录,再执行db2fs)
注意:如果是执行了db2fs 后,也不报错,但是什么反应也没有,
则执行此命令:xhost + db2inst1
3. Select Database Creation in the First Steps launchpad. On the Database Creation page, you will see links to the DB2 Information Center for creating the SAMPLE database and the Create SAMPLE Database button. Click Create SAMPLE Database to launch the Create SAMPLE Databases window.
4. You have the options to choose the type of database objects to create and the database location. You can choose the drive on which to create the SAMPLE database on Windows, and the directory on which to create the SAMPLE database on Linux.
5. This command may take a few minutes to process. When the SAMPLE database has been created, you will receive a completion message. Click OK.
6. Launch the Control Center. On Windows, click Start and, select Programs -> IBM DB2 -> [DB2 Copy Name] -> General Administration Tools --> Control Center.. On Linux systems, type the db2cc command
7. In the left pane of the Control Center screen, expand the object tree to view the SAMPLE database and SAMPLE database objects. Select the Tables object to view the SAMPLE database tables in the right pane of the Control Center screen. Right-click on the table name staff and select Query. In the command editor window, click the run button to execute the query and see the result set.
After you have verified the installation, you can remove the SAMPLE database to free up disk space. However, you will need to keep the sample database if you plan to make use of the sample applications.
Enter the db2 drop database sample command to drop the SAMPLE database.
Related tasks
* Verifying the installation using the command line processor (CLP)
Related reference
* db2fs - First steps command
Verifying the installation of DB2 servers using First Steps (Linux and Windows)
You should verify that the DB2(R) server installation has completed successfully by accessing data from the SAMPLE database.
Prerequisites
* You must have the Control Center and the First Steps component installed to perform this task.
First Steps is listed as a getting started component in the feature selection window in the DB2 Setup wizard. It is installed as part of a Typical installation or may be selected when performing a Custom installation.
The Control Center component is only available on Linux(TM) (x86 and AMD64/EM64T only) and Windows(R).
Procedure
1. On Linux, log on to the system as the instance owner.
2. On Windows, click Start and, select Programs -> IBM DB2 -> [DB2 Copy Name] -> Set-up Tools > First Steps. On Linux and Windows, you can start First Steps by typing the db2fs command.
(注意:要以拥有实例的用户[例如:db2inst1]登录,再执行db2fs)
注意:如果是执行了db2fs 后,也不报错,但是什么反应也没有,
则执行此命令:xhost + db2inst1
3. Select Database Creation in the First Steps launchpad. On the Database Creation page, you will see links to the DB2 Information Center for creating the SAMPLE database and the Create SAMPLE Database button. Click Create SAMPLE Database to launch the Create SAMPLE Databases window.
4. You have the options to choose the type of database objects to create and the database location. You can choose the drive on which to create the SAMPLE database on Windows, and the directory on which to create the SAMPLE database on Linux.
5. This command may take a few minutes to process. When the SAMPLE database has been created, you will receive a completion message. Click OK.
6. Launch the Control Center. On Windows, click Start and, select Programs -> IBM DB2 -> [DB2 Copy Name] -> General Administration Tools --> Control Center.. On Linux systems, type the db2cc command
7. In the left pane of the Control Center screen, expand the object tree to view the SAMPLE database and SAMPLE database objects. Select the Tables object to view the SAMPLE database tables in the right pane of the Control Center screen. Right-click on the table name staff and select Query. In the command editor window, click the run button to execute the query and see the result set.
After you have verified the installation, you can remove the SAMPLE database to free up disk space. However, you will need to keep the sample database if you plan to make use of the sample applications.
Enter the db2 drop database sample command to drop the SAMPLE database.
Related tasks
* Verifying the installation using the command line processor (CLP)
Related reference
* db2fs - First steps command
发表评论
-
oracle删除重复记录
2009-07-16 11:16 1263有困难,找猪八戒 Q:要删除一张表中的重复记录,但是要保留一条 ... -
问:如何得到与WEB-INF同级目录下的配置文件
2008-09-23 08:35 2189Q: 有如下需求:需要从WEB-INF同级的目录下读取配 ... -
讨论如何优化这条sql
2008-09-11 16:33 1623SELECT * FROM ( ... -
N Vs Exist in SQL
2008-07-02 16:39 1426N Vs Exist in SQL 原文如下: http:// ... -
SQL 指南
2008-05-27 11:45 1079http://www.sql-tutorial.com/ -
orace 分析函数
2008-05-26 09:08 1264select x.num, sum(x.num) over ( ... -
oralce tutoial 指南
2008-03-22 14:21 1088http://www.exforsys.com/tutoria ... -
查找部分字段重复的记录 ORACLE Identifying duplicate rows
2008-03-13 08:49 2004http://www.jlcomp.demon.co.uk/f ... -
oracle 资源网站
2008-01-12 11:42 1916oracle alter table table_ ... -
Top 5 Oracle Reference Books 前5本 oracle 参考书
2008-01-12 11:24 1780http://databases.about.com/od/o ... -
Oracle与DB2、MySQL取前10条记录的对比<转>
2008-01-11 16:46 2250原文:http://tech.ccidnet.com/art/ ... -
expert on e on one oracle - Thomas Kyte 读书笔记
2008-01-11 10:17 2143=============================== ... -
oracle 资源 整体理解oralce 比较好 英文网
2008-01-09 16:59 1231http://www.adp-gmbh.ch/ora/admi ... -
oracle java 插入 clob insert clob hibernate
2007-12-21 15:48 7270用jdbc 或者 hibernate http://www.w ... -
pl/sql 应用之一
2007-12-12 17:21 1181declare begin insert into x ... -
init.ora文件所在目录
2007-12-12 15:58 2236Oracle安装盘:\oracle\admin\DB名称\pf ... -
[Oracle] 如何解决ORA-04031 错误
2007-12-12 15:53 3292[Oracle] 如何解决ORA-04031 ... -
oracle faq 常见问题解答 http://www.orafaq.com/
2007-12-12 13:34 1525The Oracle FAQ http://www.oraf ... -
oracle 快速参考
2007-12-12 09:58 1145http://www.psoug.org/library.ht ... -
oracle like
2007-12-12 09:18 3439http://www.adp-gmbh.ch/ora/sql/ ...
相关推荐
在本教程中,我们将深入探讨如何在CentOS操作系统上安装IBM的DB2数据库。DB2是一款功能强大的关系型数据库管理系统,广泛应用于企业级应用。在Linux环境下,特别是CentOS这样的服务器操作系统,DB2提供了稳定且高效...
- **DB2 Express-C**:免费版本,支持Linux和Windows操作系统,提供DB2 Express的大部分功能。 - **DB2 Express Edition (DB2 Express)**:一款功能全面的客户机/服务器RDBMS,支持Web应用。 - **DB2 WorkGroup ...
预定义角色是在数据库安装后,系统自动创建的一些常用的角色。下面我们就简单介绍些系统角色: CONNECT, RESOURCE, DBA这些预定义角色主要是为了向后兼容。其主要是用于数据库管理。oracle建议用户自己设计数据库...
此时,你需要在`JOIN`后的查询语句中使用`ROW_NUMBER()`,并确保所有的数据都能正确排序。例如: ```sql WITH CTE AS ( SELECT ROW_NUMBER() OVER (ORDER BY t1.column1 DESC) AS Row, t1.*, t2.* FROM table1 t1...