ChinaUnix.net
相关文章推荐:

oracle set desc depth 是做什么用的啊?

本帖最后由 BuTa丶潇 于 2013-03-28 17:44 编辑 大家好,我在执行perl操作数据库的时候,需要查询表结构,可是使用perl的函数时,发现不能进行. 部分代码如下: my $sql="desc $table_name"; my $sth=$db_connect->prepare($sql); $sth->execute(); while (my @recs=$sth->fetchrow_array) { push @res,$recs[1] =~/TIMESTAMP/i ? "to_char(to_date($recs[0]...)))" : $recs[0] ; } 这样会报一个错 DBD::oracle::st execute faile...

by BuTa丶潇 - Perl - 2013-03-29 14:33:06 阅读(1421) 回复(4)

相关讨论

show user                //显示当前用户

set time on               //显示时间

host                 &...

by icybay - Oracle - 2011-12-23 03:21:43 阅读(749) 回复(0)

原文链接: http://unix-cd.com/vc/www/16/2007-07/6641.html set 命令 该命令包含许多子命令: set system_variable value system_variable value 可以是如下的子句之一: APPI[NFO]{ON|OFF|text} ARRAY[SIZE] {15|n} AUTO[COMMIT]{ON|OFF|IMM[EDIATE]|n} AUTOP[RINT] {ON|OFF} AUTORECOVERY [ON|OFF] AUTOT[RACE] {ON|OFF|TRACE[ONLY]} [EXP[LAIN]] [STAT[ISTICS]] BLO[CKTERMINATOR] {.|c} CMDS[EP] {;|c|ON|OFF} ...

by ice.wu - Linux文档专区 - 2008-03-05 17:09:03 阅读(992) 回复(0)

oracle中 比desc更详细地描述表的命令是什么? 我记得好像可以把表的外键,索引,约束等都描述出来。。。。 ---- 好像用到了某个包?

by TOADLover - Oracle - 2009-08-10 14:31:10 阅读(3325) 回复(4)

oracledesc table可以打出表结构,mssql如何做到?

by vadem - Oracle - 2004-07-08 08:56:34 阅读(2516) 回复(2)

oracle的sqlplus中有一个命令:desc,能够简要的显示基表、视图等的结构。desc的显示结果简单明了,比较实用。虽然在 Sybase ASE中的存储过程sp_help也能实现查看表结构的目的;但是,显示结果很多尤其换行混乱,让人看得眼花缭乱。显示的存储过程:sp_desc能够实现oracle的sqlplus中desc相同的功能,仅仅多了一列:列序号。 效果图如下: 存储过程sp_desc的语法如下: ——===============================================...

by andkylee - Sybase - 2011-03-04 17:40:01 阅读(7729) 回复(12)

急,还请大虾详细指教 是不是要更改那个 .sh文件,加入DISPLAY参数值 如果不更改那个文件呢?应该怎么做? 怎么远程操作我的机器?:oops: 谢谢了

by dotbyte - AIX - 2006-04-11 12:25:12 阅读(2672) 回复(3)

在运行./runInstaller时,出现: DISPLAY not set! Please set DISPLAY and try again. 怎么解决这个问题??? 在狗狗上搜索结果: set your DISPLAY variable to a valid X Windows display. % DISPLAY=;:0.0 % export DISPLAY NOTE: If you forgot to set the DISPLAY environment variable and you get the following error: Xlib: connection to ":0.0" refused by server Xlib: Client is n...

by 南腔北调 - Oracle - 2003-10-19 16:54:22 阅读(3244) 回复(1)

在运行./runInstaller时,出现: DISPLAY not set! Please set DISPLAY and try again. 怎么解决这个问题??? 在狗狗上搜索结果: set your DISPLAY variable to a valid X Windows display. % DISPLAY=;:0.0 % export DISPLAY NOTE: If you forgot to set the DISPLAY environment variable and you get the following error: Xlib: connection to ":0.0" refused by server Xlib: Client is not auth...

by 南腔北调 - 系统管理 - 2003-10-21 15:01:59 阅读(1541) 回复(4)

在运行./runInstaller时,出现: DISPLAY not set! Please set DISPLAY and try again. 怎么解决这个问题??? 在狗狗上搜索结果: set your DISPLAY variable to a valid X Windows display. % DISPLAY=;:0.0 % export DISPLAY NOTE: If you forgot to set the DISPLAY environment variable and you get the following error: Xlib: connection to ":0.0" refused by server Xlib: Client is not auth...

by 南腔北调 - Linux系统管理 - 2003-10-21 15:01:59 阅读(13641) 回复(4)

[oracle@NLINK root]$ set |more BASH=/bin/bash BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i386-redhat-linux-gnu") BASH_VERSION='2.05b.0(1)-release' COLORS=/etc/DIR_COLORS.xterm COLORTERM=gnome-terminal COLUMNS=80 CONTENT_LENGTH=1053 CONTENT_TYPE=application/x-www-form-urlencoded DESKTOP_STARTUP_ID= DIRSTACK=() DISPLAY=:4.0 DOCUMENT_ROOT=/root/webmin-0.990 EUID=501 GATEWAY_I...

by text2002 - Linux论坛 - 2003-09-01 13:24:35 阅读(912) 回复(2)