摘要: 常见问题:EXP-00091: Exporting questionable statistics(参考文章http://hi.baidu.com/weihua0722/item/c52d9cdbb6c3264fddf9be0f)...解决思路: 通常情况下,在数据库数据导入导出的问题,主要是由于服务器端的字符集与客户端的字符集设置不一致导致的.然而我们一般不会轻易的去修改数据库服务器端的字符集,那么我们就从客户端的字符集设置修改入手.前提是我们首先要知道当前情况下,服务器端的字符集及客户端的字符集是什么?如何探测出服务器端、客户端的字符集信息,请参考文章:http://www.cnblog. 阅读全文
posted @ 2013-06-23 15:30 ArcerZhang 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 1、操作系统的字符集[oracle@arcerzhang perl]$ echo $LANGen_US.UTF-8View Code 2、Oracle 客户端的字符集[oracle@arcerzhang perl]$ echo $NLS_LANGView Code 3、数据库服务器的字符集SQL> ... 阅读全文
posted @ 2013-06-23 15:23 ArcerZhang 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Unix manual pages(online documentation):man perlhttp://www.perl.orghttp://www.perl.comhttp://www.cpan.orghttp://www.activestate.comhttp://www.oreilly.com 阅读全文
posted @ 2013-06-23 14:18 ArcerZhang 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1、连接数据库#!/usr/bin/perluse strict;use DBI;my $tnsname = "DB234";my $username = "SCOTT";my $password = "TIGER";my $dbh = DBI->connect("dbi:Oracle:$tnsname",$username,$password) or die "Cannot connect db : $DBI::errstr\n";print "I have connect t 阅读全文
posted @ 2013-06-23 14:15 ArcerZhang 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: 1、安装之前,先检查一下当前系统中Perl的版本[root@arcerzhang ~]# perl -vThis is perl, v5.10.1 (*) built for x86_64-linux-thread-multiCopyright 1987-2009, Larry WallPerl may be copied only under the terms of either the Artistic License or theGNU General Public License, which may be found in the Perl 5 source kit.Complet 阅读全文
posted @ 2013-06-23 13:36 ArcerZhang 阅读(3550) 评论(1) 推荐(1) 编辑
摘要: Here is some pretty good code piece to check it:#!/usr/bin/perluse strict;use ExtUtils::Installed;my $inst=ExtUtils::Installed->new();my @modules = $inst->modules();foreach(@modules){ my $ver = $inst->version($_) || "???"; printf("%-12s -- %s\n",$_,$ver);}exit;View Code 阅读全文
posted @ 2013-06-23 11:30 ArcerZhang 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Oracle10G以前执行drop table后表就即被删除了。10G后引入了垃圾回收站的概念recyclebin。如果仍只是drop table xxx,表不会立即被删除,而是被暂时放入回收站。 可以保障某些误操作后还可以将表还原。 1.查看数据库是否开户recyclebin功能 SQL> sho... 阅读全文
posted @ 2013-06-23 10:05 ArcerZhang 阅读(327) 评论(0) 推荐(0) 编辑