2014年6月2日
摘要: 1. Install GNUstepsudo apt-get install gnustep gnustep-devel2. Write hello world program, and save as hello.m#import int main (int argc, const char * ... 阅读全文
posted @ 2014-06-02 10:51 Maxwell Hu 阅读(262) 评论(0) 推荐(0) 编辑
  2014年5月27日
摘要: 可以使用 alter database datafile 'file path...' resize xM 的命令来缩小数据文件。SELECT 'alter database datafile ''' || A.FILE_NAME || ''' resize ' || ROUND(A.... 阅读全文
posted @ 2014-05-27 08:39 Maxwell Hu 阅读(1420) 评论(0) 推荐(0) 编辑
  2014年5月22日
摘要: Oracle重建所有表的索引的sql:SELECT 'alter index ' || INDEX_NAME || ' rebuild online nologging;'FROM USER_INDEXESWHERE TABLESPACE_NAME = 'xxx' AND STAT... 阅读全文
posted @ 2014-05-22 11:34 Maxwell Hu 阅读(1432) 评论(0) 推荐(0) 编辑
  2014年1月28日
摘要: 1. 在VirtualBox中新建一个MSDOS虚拟机。2.下载一个MSDOS软盘镜像。3.启动虚拟机,提示选择安装盘时,选择步骤2下载过来的MSDOS镜像。4.正常启动进入DOS命令行,用FDISK程序来给虚拟硬盘分区,建两个主分区(C,D),一个用来装dos,一个用来装minix。5.分区完成后,重启机器,格式化C盘和D盘。6.在dos下通过运行 'sys c:'把dos安装到C盘,并复制A盘(启动的DOS盘)中的一些程序到C盘(copy a:\*.* c:\)。7.下载minix2.0.0的软盘镜像。如果没有也可以通过MINIX2.0 CD-ROM包中的文件来制作。主要是 阅读全文
posted @ 2014-01-28 17:34 Maxwell Hu 阅读(575) 评论(0) 推荐(0) 编辑
  2014年1月16日
摘要: 连接Oracle数据库需要Oracle数据访问组件(ODAC)。1. 下载ODAC:http://www.oracle.com/technetwork/cn/database/windows/downloads/index-101312-zhs.html建议使用xcopy版本。该版本中已经包含了下面这些组件。Oracle Data Provider for .NET 4 12.1.0.1.0Oracle Data Provider for .NET 2.0 12.1.0.1.0Oracle Providers for ASP.NET 4 12.1.0.1.0Oracle Providers.. 阅读全文
posted @ 2014-01-16 20:22 Maxwell Hu 阅读(1213) 评论(0) 推荐(0) 编辑
  2014年1月14日
摘要: 1. sqlplus远程连接方式一:简易连接,不用进行网络配置,其实就是tnsname.ora文件,但只支持oracle10G以上。命令:sqlplus 用户名/密码@ip地址[:端口]/service_name [as sysdba]示例:sqlplus sys/pwd@ip:1521/test as sysdba 备注:使用默认1521端口时可省略输入方式二:进行网络配置 oracle9i和以前的版本2.1图形化操作:Net Configuration Assistant--> 本地Net服务名配置-->添加->服务名->协议(选tcp)->主机名称-> 阅读全文
posted @ 2014-01-14 09:43 Maxwell Hu 阅读(287) 评论(0) 推荐(0) 编辑
  2014年1月7日
摘要: 阅读全文
posted @ 2014-01-07 09:55 Maxwell Hu 阅读(136) 评论(0) 推荐(0) 编辑
  2014年1月4日
摘要: #ifndef SALESITEM_H#define SALESITEM_H// Definition of Sales_item class and related functions goes here#include #include class Sales_item {friend bool operator==(const Sales_item&, const Sales_item&);// other members as beforepublic: // added constructors to initialize from a string or an is 阅读全文
posted @ 2014-01-04 22:08 Maxwell Hu 阅读(499) 评论(0) 推荐(0) 编辑
  2013年12月27日
摘要: 环境: .NET 4.0, MQ .NET客户端 IBM.XMS(v2.0.0.3)测试代码如下: var factoryFactory = XMSFactoryFactory.GetInstance(XMSC.CT_WMQ); var _connFactory = factoryFactory.CreateConnectionFactory(); _connFactory.SetStringProperty(XMSC.WMQ_HOST_NAME, "192.168.0.65"); _connFactory.SetIntProperty(XMSC... 阅读全文
posted @ 2013-12-27 15:55 Maxwell Hu 阅读(20259) 评论(0) 推荐(0) 编辑
  2013年12月24日
摘要: 一个ASP.NET的程序,使用了MS ReportViewer报告控件,在用该控件导出生成Excel文件时,先是提示行不能超过65535。 这个是由于Excel2003的行限制的原因。由于修改成用Excel2007格式导出,用这种方法导出时报了如下错误:Unable to create the store directory. (Exception from HRESULT: 0x80131468) 错误堆栈: at System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope scope, ... 阅读全文
posted @ 2013-12-24 10:29 Maxwell Hu 阅读(835) 评论(0) 推荐(0) 编辑