摘要: https://support.microsoft.com/en-us/kb/904803 Character data is represented incorrectly when the code page of the client computer differs from the cod 阅读全文
posted @ 2016-02-26 10:48 which 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.programiz.com/article/python-self-why If you have been programming in Python (in object oriented way of course) for some time, I'm sure you have come across methods that have self as... 阅读全文
posted @ 2016-02-17 16:50 which 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 转载自:https://www.mssqltips.com/sqlservertutorial/121/restore-sql-server-database-and-overwrite-existing-database/ Restore SQL Server database and overwrite existing database (RESTORE ... WITH REPLA... 阅读全文
posted @ 2015-11-04 14:01 which 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://blogs.msdn.com/b/ialonso/archive/2012/10/08/inaccurate-values-for-currently-allocated-space-and-available-free-space-in-the-shrink-file-dialog-for-tempdb-only.aspx Inaccurate values for... 阅读全文
posted @ 2015-10-13 11:27 which 阅读(444) 评论(0) 推荐(0) 编辑
摘要: select format(sysdatetime(),'yyyy-MM-dd HH:mm:ss');SQL Server 2012才开始有这功能这种样式很像oracle的to_char(sysdate,'yyyy-mm-dd hh24:mi:ss')注意yyyy-MM-dd这里MM是大写的,HH:... 阅读全文
posted @ 2015-10-10 15:19 which 阅读(307) 评论(0) 推荐(0) 编辑
摘要: select * from sys.sysprocesses where blocked>0; 96被95block住了。 dbcc INPUTBUFFER(95) dbcc INPUTBUFFER(96) 阅读全文
posted @ 2015-09-24 18:24 which 阅读(248) 评论(0) 推荐(0) 编辑
摘要: SQL Server 通配符 Wildcard character % 任意长度的字符串,如:'%computer%' _ 单个字符,如:'_ean' [] 指定范围内的单个字符,如:'[C-P]arsen' [^] 任意单个字符,但不在指定范围内,如:'[^C-P]' 阅读全文
posted @ 2015-09-24 10:28 which 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 原文地址:oracle11g asm单实例重建has作者:datapeng最近到客户那里处理故障,客户说,他们修改了一下hostname,导到has出现了问题,当然,他们的数据库也就无法再启动,把处理过程记录下来,供大家参考!在有些时候,我们修改了hostname,以及其它一些配置后,导至has、c... 阅读全文
posted @ 2015-09-22 09:58 which 阅读(995) 评论(0) 推荐(0) 编辑
摘要: 转自http://tilt.lib.tsinghua.edu.cn/node/889如何使用parted对齐分区以得到最优性能Sat, 03/08/2014 - 18:02 -tlbluestar来源地址:http://rainbow.chard.org/2013/01/30/how-to-alig... 阅读全文
posted @ 2015-09-21 17:30 which 阅读(659) 评论(0) 推荐(0) 编辑
摘要: --1毫秒=0.001秒 --1微秒=0.000 001秒 --1纳秒=0.000 000 001秒 --datetime精度不大好,末尾值只能是这3种: .000, .003, or .007 --datetime2精度可以到100纳秒,即0.000 000 1 select GETDATE() GETDATE;----datetime类型 select CURRENT_TIME... 阅读全文
posted @ 2015-09-11 15:51 which 阅读(200) 评论(0) 推荐(0) 编辑