ITeye博客

Shelly.Kuang的博客

Shelly.Kuang · 共 43 篇文章

OracleERP11i表结构 - AP

ap(应付) 值集名 ap_batches_all 发票批表 AP_APPROVAL_STATUS 发票审批工作流状态 BATCH_ID(PK) 发票批标识符(ID) Invoice batch identifier BATCH_NAME 发票批名(唯一所执行的发票工作台) Invoice batch name (uniqueness enforced by the Invoice workbench) BATCH_DATE 发票批日期 Invoice batch date CONTROL_INVOICE_COUNT 控制用户输入的发票数 User entered control of nu…

2015-01-13 21:35 · Oracle · 评论(0)

Sql Server中如何让一个表的某个字段的值连成字符串

DECLARE @STR VARCHAR(8000) SELECT @STR = ISNULL(@STR,'')+[字段名]+'分隔符号' FROM 表名 SELECT @STR

2014-07-26 09:46 · SQL Server · 评论(0)

plsql dev中Dynamic Performance Tables not accessible分析解决

相信很多使用plsql dev的朋友多遇到过类此如下面的提示: Dynamic Performance Tables not accessible, Automatic Statistics Disabled for this session You can disable statistics in the preference menu,or obtanin select priviliges on the v$session,v$sesstat and v$statname tables 一、产生该提示原因 plsql dev在用户运行过程中,要收集用户统计信息,但是由于你现在登录的用…

2014-07-25 21:10 · Oracle · 评论(0)

Python - 函数中**参数的用法

Python tips: 什么是*args和**kwargs? 先来看个例子: def foo(*args, **kwargs): print 'args = ', args print 'kwargs = ', kwargs print '---------------------------------------' if __name__ == '__main__': foo(1,2,3,4) foo(a=1,b=2,c=3) foo(1,2,3,4, a=1,b=2,c=3) foo('a', 1, None, a=1, b='2', c=3) 输出结果如下: args = (1, …

2012-10-03 23:56 · Python · 评论(0)

'xp_cmdshell' does not exist??

EXEC sp_configure 'show advanced options', 1; GO RECONFIGURE; GO EXEC sp_configure 'xp_cmdshell',1 GO RECONFIGURE GO Refer http://msdn.microsoft.com/en-us/library/ms189631.aspx for more options.

2012-08-31 13:27 · SQL Server · 评论(0)

Enabling xp_cmdshell in SQL Server 2005

If you don't enable xp_cmdshell and you issue a command such as the following to get a directory listing of the C: drive: xp_cmdshell 'dir c:\' you get the following error message: Msg 15281, Level 16, State 1, Procedure xp_cmdshell, Line 1 SQL Server blocked access to procedure 'sys.xp_cmdshell' o…

2012-08-30 08:58 · SQL Server · 评论(0)

MySQL Performance Blog

http://www.mysqlperformanceblog.com/

2012-06-14 15:12 · MySQL · 评论(0)

如何安全的修改innodb_log_file_size值

If you need to change MySQL’s innodb_log_file_size parameter (see How to calculate a good InnoDB log file size ), you can’t just change the parameter in the my.cnf file and restart the server. If you do, InnoDB will refuse to start because the existing log files don’t match the configured size. You…

2012-06-14 15:11 · MySQL · 评论(0)

MySQL安装后需要调整什么

原文连接 http://www.mysqlperformanceblog.com/2006/09/29/what-to-tune-in-mysql-server-after-installation/ 面对MySQL的DBA或者做MySQL性能相关的工作的人,我最喜欢问的问题是,在MySQL服务器安装后,需要调整什么,假设是以缺省的设置安装的。 我很惊讶有非常多的人没有合理的回答,很多的MySQL服务器都在缺省的配置下运行。 尽管你可以调整非常多的MySQL服务器变量,但是在通常情况下只有少数的变量是真正重要的。在你设置完这些变量以后,其他变量的改动通常只能带来相对有限的性能改善。 key_…

2012-06-14 15:10 · MySQL · 评论(0)

Python日期和字符串的互转

用的分别是time和datetime函数 import time,datetime # date to str print time.strftime("%Y-%m-%d %X", time.localtime()) #str to date t = time.strptime("2009 - 08 - 08", "%Y - %m - %d") y,m,d = t[0:3] print datetime.datetime(y,m,d) 输出当前时间: 2009-09-02 23:51:01 2009-08-08 00:00:00 符: %a 本地简化星期名称 %A 本地完整星期名称 %b 本…

2012-05-26 08:53 · Python · 评论(0)

Python 字符串格式化输出(format/printf)

Python 字符串格式化使用 "字符 %格式1 %格式2 字符"%(变量1,变量2),%格式表示接受变量的类型。简单的使用例子如下: # 例:字符串格式化 Name = '17jo' print 'www.%s.com'%Name >> www.17jo.com Name = '17jo' Zone = 'com' print 'www.%s.%s'%(Name,Zone) >> www.17jo.com 字符串格式化时百分号后面有不同的格式符号,代表要转换的不同类型,具体的表示符号如下面所示。 格式符号 表示类型 %s 字符串 %d/%i 十进制整数 %u 十进制整数 %o 八进制整数 …

2012-05-26 08:50 · Python · 评论(0)

Python内置函数

The Python interpreter has a number of functions built into it that are always available. They are listed here in alphabetical order. abs() divmod() input() open() staticmethod() all() enumerate() int() ord() str() any() eval() isinstance() pow() sum() basestring() execfile() issubclass() print() s…

2012-04-19 13:31 · Python · 评论(0)

查看mysql当前连接数

1、查看当前所有连接的详细资料: mysqladmin -uroot -proot processlist D:\MySQL\bin>mysqladmin -uroot -proot processlist +-----+------+----------------+---------+---------+------+-------+------------------+ | Id | User | Host | db | Command | Time | State | Info | +-----+------+----------------+---------+---------+…

2012-04-16 15:21 · MySQL · 评论(0)

安装VirtualBox虚拟机增强包

具体步骤如下: 1.启动虚拟机,以root登录,然后选择 “设备”-“安装增强功能”加载增强功能镜像。 2.安装刚加载的镜像 3.安装缺少的包:yum install kernel-devel 4.yum install kerenl* 5.yum install gcc 6.重启 7.安装刚加载的镜像 8.重启

2012-04-14 21:21 · 开发工具 · 评论(0)

Bringing up interface eth0 error connection activation failed device not managed

if you run:/etc/init.d/network restart and occur:Bringing up interface eth0: Error: Connection activation failed: Device not managed by NetworkManag the solution is: command fllows: chkconfig NetworkManager off chkconfig network on service NetworkManager stop service network start then,everything i…

2012-04-14 17:11 · Linux · 评论(0)