- 博客(36)
- 资源 (13)
- 收藏
- 关注
转载 直接通过ODBC读写Excel表格文件
直接通过ODBC读写Excel表格文件 译者:徐景周(原作:Alexander Mikula) 下载本文示例代码 想要通过ODBC直接读、写Excel表格文件,首先,应确保ODBC中已安装有Excel表格文件的驱动"MICROSOFT EXCEL DRIVER (*.XLS)"。然后,可根据下面步骤进行:
2008-12-31 23:13:00 1401
转载 Oracle/PLSQL: WHERE CURRENT OF Statement
If you plan on updating or deleting records that have been referenced by a Select For Update statement, you can use the Where Current Of statement. The syntax for the Where Current Of statem
2008-12-31 14:07:00 1302
转载 exp query 参数的格式
昨天需要按照条件导出一个表,再导入另一个数据库,很自然想到了 exp 的 query 参数,本来以为可以很顺利完成,结果 query参数的格式怎么也写不对,因为时间紧迫,最后通过 dblink直接插入了另一个数据库。今天回过头来再研究了一下,发现其实也不复杂,按照文档还是能很好的解决的。希望导出测试表中日期为 2007-09-22 的一条数据:SQL> select * from sky
2008-12-31 12:28:00 5787
转载 RAISE_APPLICATION_ERROR
可能不是很多人知道 RAISE_APPLICATION_ERROR 的用途是什么,虽然从字面上已经猜到这个函数是干什么用的。 其实 RAISE_APPLICATION_ERROR 是将应用程序专有的错误从服务器端转达到客户端应用程序。 RAISE_APPLICATION_ERROR 的声明: PROCEDURE RAISE_APPLICATI
2008-12-30 12:46:00 904
转载 Oracle取整的函数
关于Oracle取整的函数分别有以下几种: 1.取整(大) select ceil(-1.001) value from dual 2.取整(小) select floor(-1.001) value from dual 3.取整(截取) select trunc(-1.002) value from dual 4.取整(舍入) se
2008-12-30 12:13:00 2465
转载 Reading Excel files using ODBC
Reading Excel files using ODBCRating: none Alexander Mikula (view profile) May 15, 1999 ProblemAfter contribution that article abo
2008-12-29 22:02:00 1323
转载 Coloring the Console Application (AddingText and Background color in C#)
Thiscode changes text and back ground color in a console C# Application.This artical also explain that how we can call Win32 Apis in our c#program or say how to use unmanaged code in managed e
2008-12-29 12:28:00 1178
转载 99sql+三范式
select ename,dname from emp join dept on(emp.deptno=dept.deptno);select ename,dname from emp join dept using(deptno);select ename,dname,grade fromemp e join dept d on (e.deptno=d.deptno)join salgrade
2008-12-28 22:48:00 664
转载 The Standard Librarian: What Are Allocators Good For?
Matthew H. Austern Mostof us who use the C++ Standard library tend to forget about allocators,those mysterious things specified
2008-12-27 22:32:00 1205
转载 Optimized ASP.NET DataGrid Sorting
Download source files - 5.42 Kb IntroductionTypical ASP.NET DataGrid sorting concerns databaseaccess and saving data in viewstate. So, minimizing database accesstimes and the size of viewstat
2008-12-26 17:15:00 885
原创 DIV+CSS网站布局最重要的几个东西
CSS:displaypositionmarginborderpaddingfloatclearhtml:基于的理论:盒子模型+浮动模型
2008-12-26 15:55:00 955
转载 利用Truncate清空Oracle各个分区的资料
TRUNCATE清空资料以及DELETE与TRUNCATE数据库的差别:Note: Deletesperform normal DML. That is, they take locks on rows, they generateredo (lots of it), and they require segments in the UNDO tablespace.
2008-12-26 10:17:00 8567
转载 关于oracle大表迁移
相关信息如下:ITPUB个人空间Q?lkUux0mG数据库版本:9.2.0.4O/Q ^k r0导出数据库:db1` O3cw"`P0U"C0导入数据库:db2ITPUB个人空间7/.p9J8pW,fbW+oITPUB个人空间4KiW8cA Z7vhlndg%_"qh0NL7u3a0逻辑导出语句如下:ITPUB个人空间2XWC SP
2008-12-26 09:21:00 3312
转载 linux下查看进程/线程
ps ax 命令显示一个当前系统进程的列表,该列表中包括其他用户拥有的进程。要显示进程以及它们的所有者,使用 ps aux 命令。该列表是一个静态列表;换一句话说,它是在你启用这项命令时正在运行的进程的快照。如果你需要一个时刻更新的运行进程列表,使用下面描述的 top 命令。ps 的输出会很长。要防止它快速从屏幕中滑过,你可以把它管道输出给 less 命令: ps aux | less你可以使用
2008-12-25 19:12:00 1208
转载 小议SQLNET.AUTHENTICATION_SERVICES
一直以来,我记住的一个知识点就是:SQLNET.AUTHENTICATION_SERVICES=(NTS)是使用OS认证的必须条件之一。今天一个偶然的机会,才知道这个结论是不完全准确的。在本文的测试中,remote_login_passwordfile的值都为EXCLUSIVE,相关用户所属组也设置正确。先看windows下的测试:--设置为NTS,OS验证成功E:oracleora92in>
2008-12-25 10:49:00 4107
转载 SQLNET.AUTHENTICATION_SERVICES
ORACLE9I里有两种认证方式: 一种是操作系统认证方式; 一种是密码文件认证方式. sqlnet.ora文件中的:SQLNET.AUTHENTICATION_SERVICES= (NTS/NONE)NTS:操作系统认证NONE:口令文件认证 当SQLNET.AUTHENTICATION_SERVICES=(NTS) 时,用的是系统认证方式,
2008-12-25 09:28:00 889
转载 listener.ora--sqlnet.ora--tnsnames.ora的关系以及手工配置举例
首先来说Oracle的网络结构,往复杂处说能加上加密、LDAP等等。。这里不做讨论,重点放在基本的网络结构也就是我们最常用的这种情况 三个配置文件 listener.ora、sqlnet.ora、tnsnames.ora ,都是放在$ORACLE_HOME/network/admin目录下。 重点:三个文件的作用和使用 #-----------------------
2008-12-25 09:25:00 912
转载 Oracle中的数据字典技术初级入门
数据字典是Oracle存放有关数据库信息的地方,其用途是用来描述数据的。比如一个表的创建者信息,创建时间信息,所属表空间信息,用户访问权限信息等。当用户在对数据库中的数据进行操作时遇到困难就可以访问数据字典来查看详细的信息。Oracle中的数据字典有静态和动态之分。静态数据字典主要是在用户访问数据字典时不会发生改变的,但动态数据字典是依赖数据库运行的性能的,反映数据库运行的一些内在信息,所以在访
2008-12-25 08:47:00 714
原创 Linux top cpu
NAME top - display Linux tasksSYNOPSIS top -hv | -bcHisS -d delay -n iterations -p pid [, pid ...] The traditional switches - and whitespace are optional.DESCRIPTION The to
2008-12-24 22:25:00 1006
转载 Linux PATH设置和显示
Linux下的变量,多种多样,包含在 Linux 运行的个个环节之中,当然对于一个桌面来说,有一个系统变量是应该知道的。那就是 PATH变量莫属 ,它在系统中的主要作用是,提供命令的搜索路径查看PATH变量:[root@xx ~]# echo $PATH/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/b
2008-12-24 22:03:00 9275
原创 ACID
ACID:• Atomicity: Either all of a transaction happens or none of it happens.• Consistency: A transaction takes the database from one consistent state to the next.• Isolation: The effects of a transac
2008-12-24 10:44:00 822
转载 使用 Visual C# .NET 从文件中读取 XML
本文描述如何使用 XmlTextReader 类从文件读取可扩展标记语言 (XML)。 XmlTextReader 可对 XML 直接进行语法分析和标记,并且实施了 XML 1.0 规范以及 WWW 联合会 (W3C) XML 规范中的名称空间。 本文提供了对 XML 的快速、标记化流访问,而不是使用 XML 文档对象模型 (DOM) 等对象模型。回到顶端要求 lo
2008-12-23 09:55:00 735
转载 SQL*Plus的Copy命令
在数据表间复制数据是Oracle DBA经常面对的任务之一,Oracle为这一任务提供了多种解决方案,SQL*Plus Copy 命令便是其中之一。SQL*Plus Copy 命令通过SQL*Net在不同的表(同一服务器或是不同服务器)之间复制数据或移动数据。
2008-12-22 20:29:00 1439
转载 oracle 中的exception
1、异常的优点 如果没有异常,在程序中,应当检查每个命令的成功还是失败,如 BEGIN SELECT ... -- check for ’no data found’ error SELECT ... -- check for ’no data found’ error SELECT ... -- check for ’no data found’ error
2008-12-22 14:33:00 660
转载 在ASP.NET中调用存储过程方法新解
摘要 存储过程的调用在B/S系统中用的很多。传统的调用方法不仅速度慢,而且代码会随着存储过程的增多不断膨胀,难以维护。新的方法在一定程度上解决了这些问题。关键词 ASP.NET;存储过程在使用.NET的过程中,数据库访问是一个很重要的部分,特别是在B/S系统的构建过程中,数据库操作几乎成为了一个必不可少的操作。调用存储过程实现数据库操作使很多程序员使用的方法,而且大多数的程序
2008-12-22 14:32:00 531
转载 ASP.NET页面跳转的几种方法
标签1. 2. 这是最常见的一种转向方法;HyperLink控件 1. Asp.net 服务器端控件 属性NavigateUrl指定要跳转到的Url地址2. NavigateUrl是可以在服务器端使用代码修改,这个区别于3. 由于HyperLink本身没有事件所以要在服务器端其它事件中设置
2008-12-19 22:13:00 768
转载 ASP.NET ViewState 初探
ViewState 到底是什么与刚接触 ASP.NET页面的开发人员交谈时,他们通常向我提出的第一个问题就是:“那个 ViewState到底是什么?”他们的语气中流露出的那种感觉,就象我来到一家异国情调的餐馆,侍者端上一道我从未见过的菜肴时的那种感觉 ——既疑惑不解,又充满好奇。但肯定有人认为它不错,否则就不会提供了。所以,我会先尝一尝,或许会喜欢上它,尽管它看上去的确很古怪!对
2008-12-17 19:55:00 551
转载 Oracle共享服务器配置
9i 下的共享服务器 Shared Server(8i 中的多线程服务器 MTS )主要用在 OLTP 业务中,服务器进程每次处理业务只需很短的时间,大多在空闲状态,在这种情况下,可以用较少的资源,处理较多的用户请求。 共享服务器的配置1.设置 DISPATCHERS 参数: 在 pfile 中添加:*.DISPATCHERS=(PROTOCOL=TCP)(SERVICE=SKY
2008-12-16 13:06:00 1318
转载 Java学习从入门到精通
本文向Java初学者介绍如何一步一步,通过自学,掌握Java编程语言和主流的Java EE技术。 目 录 [隐藏] Java Learning Path (一)、工具篇 Java Learning Path(二)、书籍篇 Java Learning Path(三)过程篇 Java Learning Path(四) 方法篇
2008-12-16 12:27:00 839
转载 OLTP与OLAP
OLTPOn_Line Transaction Processing联机事物处理系统(OLTP) 定义:On-Line Transaction Processing联机事务处理系统(OLTP)也称为面向交易的处理系统,其基本特征是顾客的原始数据可以立即传送到计算中心进行处理,并在很短的时间内给出处理结果。这样做的最大优点是可以即时地
2008-12-16 12:00:00 914
转载 How to partition a non-partitioned table
You can partition a non-partitioned table three different ways:A) export/import methodB) Insert with a subquery method C) Partition exchange methodEither of these 3 methods will create a partition
2008-12-12 12:22:00 614
转载 深入认识javascript中的eval函数
深入认识javascript中的eval函数分类:技术专区时间:2007-5-21 15:04:58作者:supNate 发现为本文起一个合适的标题还不是那么容易,呵呵,所以在此先说明下本文的两个目的:(1)介绍javascript中的eval函数的用法(2)如何在函数内执行全局代码►先来说eval的用法,内容比较简单,熟悉的可以跳过。eval函数接收一个参
2008-12-10 13:22:00 489
转载 Unable to Start Debugging on the Web Server
I hate that, and it seems that every time I (or aco-worker) gets the error “Unable to Start Debugging on the WebServer” on a machine when attempting to debug an ASP.NET project, Ihave to scramb
2008-12-07 21:32:00 1085
Apress.The.Definitive.Guide.to.GCC.2nd.Edition.2006
2009-07-02
project management
2009-07-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人