易截截图软件、单文件、免安装、纯绿色、仅160KB

学习oracle sql loader 的使用

一:sql loader 的特点
oracle自己带了很多的工具可以用来进行数据的迁移、备份和恢复等工作。但是每个工具都有自己的特点。
 比如说exp和imp可以对数据库中的数据进行导出和导出的工作,是一种很好的数据库备份和恢复的工具,因此主要用在数据库的热备份和恢复方面。有着速度快,使用简单,快捷的优点;同时也有一些缺点,比如在不同版本数据库之间的导出、导入的过程之中,总会出现这样或者那样的问题,这个也许是oracle公司自己产品的兼容性的问题吧。
 sql loader 工具却没有这方面的问题,它可以把一些以文本格式存放的数据顺利的导入到oracle数据库中,是一种在不同数据库之间进行数据迁移的非常方便而且通用的工具。缺点就速度比较慢,另外对blob等类型的数据就有点麻烦了。
 
二:sql loader 的帮助
c:\>sqlldr
sql*loader: release 9.2.0.1.0 - production on 星期六 10月 9 14:48:12 2004
copyright (c) 1982, 2002, oracle corporation.  all rights reserved.
用法: sqlldr keyword=value [,keyword=value,...]
有效的关键字:
    userid -- oracle username/password
   control -- control file name
       log -- log file name
       bad -- bad file name
      data -- data file name
   discard -- discard file name
discardmax -- number of discards to allow        (全部默认)
      skip -- number of logical records to skip  (默认0)
      load -- number of logical records to load  (全部默认)
    errors -- number of errors to allow          (默认50)
      rows -- number of rows in conventional path bind array or between direct p
ath data saves
(默认: 常规路径 64, 所有直接路径)
  bindsize -- size of conventional path bind array in bytes(默认256000)
    silent -- suppress messages during run (header,feedback,errors,discards,part
itions)
    direct -- use direct p


相关文档:

SQL 左外连接,右外连接,全连接,内连接

 联接条件可在   from   或   WHERE   子句中指定,建议在   from   子句中指定联接条件。WHERE   和   HAVING   子句也可以包含搜索条件,以进一步筛选联接条件所选的行。   
   
联接可分为以下几类:      ......

SQL Server 2008 Spatial, PostgreSQL/PostGIS 1.3

General Overview
FeatureSQL Server 2008 (RC0)MySQL 5.1/6PostgreSQL 8.3/PostGIS 1.3/1.4
OS
Windows XP, Windows Vista, Windows 2003, Windows 2008
Windows XP, Windows Vista, (haven't tested on 2008), Linux, Unix, Mac
Windows 2000+ (including Vista and 2003, haven't tested on 2008), Linux, Unix, Ma ......

配置使用 SQL Server提供程序 。

 配置使用 SQL Server提供程序
 <configuration>
  <system.web> <-- 更改提供程序配置: -->
    <membership defaultProvider="AspNetSqlProvider" />
  </system.web>
  <membership> <--配置提供程序 -->
  <prov ......

解决SQL Server 1069错误:登录失败

SQL Server 服务由于登录失败而无法启动
1.症状
在重新启动 SQL Server、SQL Executive 或 SQL Server Agent 时,可能无法启动该服务,并显示以下错误信息:
Error 1069:The service did not start due to a logon failure.
或者
错误 1069:由于登录失败而无法启动服务
2.原因
SQL Server、SQL Agent 或 SQL Serve ......

sql 2005 存储过程分页 java 代码

 create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',         
@pagesize int output,--每页显示记录条数
@currentpage int output,--第几页
@orderid nvarchar(50),--主键排序
@sort int,--排序方式,1表示升序,0表示降序排列 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号