找到“Oracle 9i 企业版(25用户)”相关信息230748条结果
  • oracle的查询结果输出为文件
    首先编辑一个脚本文件,比如命名为abc.shspool abc.txt; #将结果输出为abc.txtselect * from wap_subscribe where Telcomcompanyid = ''20200'' and (Orderdate like ''2005%'' or Disorderdate like ''2005%'');spool off;在sql模式下使用@/opt/abc.sh即可,查询结果即输出到abc.txt了
    应用 2006-02-22
  • 在solaris9上安装oracle10
    搞了好久,终于把它装出来了。参考了很多高人的文章。很多照着做就可以了。第一次下的iso.gz格式,不知道是不是文件本身的原因,gunzip解压后,用lofiadm命令把iso通过块设备存取,然后再把块设备挂载在一个目录下安装,一直有错误,只好重新下的cpio格式的。前次安装用到的命令还是比较有用的:#gunzip d xxxx.iso
    应用 2006-02-22
  • Linux下PHP+Oracle乱码解决
    1.安装好服务器,设置好服务端的字符集(比如:ZHS16GBK为中文)2.查看客户端查看服务端的语言,sqlselect * from V$NLS_PARAMETERS Where PARAMETER=''NLS_LANGUAGE'';比如是"SIMPLIFIED CHINESE"3.在Apache启动脚本里加入环境变量:export NLS_LANGUAGE="SIMPLIFIED CHINESE"(在/etc/init.d/
    应用 2006-02-21
  • oracle热物理备份步骤
    1,选取所有表空间select tablespace_name from dba_tablespaces;2,对于每一个表空间建立数据文件的列表select file_name from dba_data_files where tablespace_name=''tablespace name'';3,让表空间处于备份模式下:alter tablespace tablespace_name begin backup;4,使用操作系统命令备份该表
    应用 2006-02-21
  • Oracle9i在linux AS 3.0上的安装
    1、 确认linux安装以下的包: (或者在安装linux 3.0时选中development package 和 legacy software development两个包)compatdb4.0.145.i386.rpm compatgcc7.32.96.122.i386.rpm compatgccc++7.32.96.122.i386.rpm compatlibstdc++7.32.96.122.i386.rpm compatlibstdc++devel7.32.96.122.i386.rpm openmotif212.1.308.i38
    应用 2006-02-20
  • Oracle一些常用的SQL
    查询表结构select substr(table_name,1,20) tabname,substr(column_name,1,20)column_name,rtrim(data_type)||''(''||data_length||'')'' from system.dba_tab_columnswhere owner=''username''表空间使用状态select a.file_id "FileNo",a.tablespace_name "Tablespace_name",round(a.byte
    应用 2006-02-09
  • oracle表空间不足问题的解决
    1. ORA01536:表空间不足 问题的解决ORA01536: space quota exceeded for tablespace方法一:SQL alter user test quota unlimited on testtablespace;User altered.方法二:SQL alter user test default tablespace testtablespace 2 quota 0 on system 3 quota 500M on t
    应用 2006-01-28
  • Oracle中获取磁盘空间的使用情况
    Select DistinctSysDate,s.user# As UserID,u.name As UserName,s.ts# As TableSpaceID,d.tablespace_name As TableSpaceName,s.FILE# As DataFileID,d.file_name As DataFileName,d.bytes As Bytes,d.maxbytes As MaxBytes,d.user_bytes As UserBytes,d.autoextensible As Au
    应用 2006-01-13
  • C# - Oracle数据库连接方法
    using System;using System.Data;using System.Data.OracleClient; class Sample{ public static void Main() { string myConnString = "user id=zk;data source=zkqx;password=*****"; OracleConnection myConnection = new OracleConnection(myConnString); OracleCommand catCMD =
    应用 2006-01-13
  • Oracle中利用Rowid查找和删除表中重复记录
    平时工作中可能会遇到当试图对库表中的某一列或几列创建唯一索引时,系统提示 ORA01452 :不能创建唯一索引,发现重复记录。 下面总结一下几种查找和删除重复记录的方法(以表CZ为例):表CZ的结构如下:SQL desc czName Null? TypeC1 NUMBER(10)C10 NUMBER(5)C20 VARCHAR2(3)删除重复
    应用 2006-01-11