摘要: ORACLE建表语句如下(自动编号栏位+外键定义):/*--drop index SCOTT.utweb_user_funcs_map_IDX1;drop SEQUENCE scott.utweb_user_funcs_map_autoid;drop table scott.utweb_user_functions_mapping;--drop index SCOTT.utweb_function... 阅读全文
posted @ 2009-04-09 16:46 Emosen 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 当ORACLE数据库未安装在PHP网页所在服务器上时,需要在PHP网页所在服务器上安装ORACLE客户端环境,说明如下:1.创建一个子目录(例如,c:\instantclient10_1),然后把以下文件复制到c:\instantclient10_1目录下: oraociei10.dll orannzsbb10.dll oci.dll 2.将 c:\instantclient10_1 添加到... 阅读全文
posted @ 2009-04-09 16:36 Emosen 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 数据类型参数描述char(n)n=1 to 2000字节定长字符串,n字节长,如果不指定长度,缺省为1个字节长(一个汉字为2字节)varchar2(n)n=1 to 4000字节可变长的字符串,具体定义时指明最大长度n,这种数据类型可以放数字、字母以及ASCII码字符集(或者EBCDIC等数据库系统接受的字符集标准)中的所有符号。如果数据长度没有达到最大值n,Oracle 8i会根据数据大小自动调... 阅读全文
posted @ 2009-04-09 13:55 Emosen 阅读(355) 评论(0) 推荐(0) 编辑