SELECT t.PROB_ID, STUFF((SELECT ',' + s.NOTESFROM gpcomp1.GPPROBNOTES sWHERE s.PROB_ID = t.PROB_IDFOR XML PATH('')),1,1,'') AS NOTESFROM gpcomp1.GPPRO...
分类:
其他好文 时间:
2014-08-21 21:00:04
阅读次数:
174
1. 看手册的例子说的 very good 在删除目录 和 遍历目录的时候要注意了,应该很少人把名字取为0吧。// 正确的遍历目录的方法while(false !==( $file= readdir($file_path) ) ){}//错误的遍历目录的方法while($file=readdir($...
分类:
其他好文 时间:
2014-08-21 20:54:24
阅读次数:
185
CStringCCallSchedulingSystemDlg::GetFilePath(void){ HMODULEmodule=GetModuleHandle(0); charpFileName[MAX_PATH]; GetModuleFileName(module,pFileName,MAX_PATH); CStringcsFullPath(pFileName); intnPos=csFullPath.ReverseFind(_T(‘\\‘)); if(nPos<0) returnCString..
分类:
其他好文 时间:
2014-08-21 19:34:55
阅读次数:
385
1 $text = "\\127.0.0.1\D$\Hotfix\Hotfix_Win2003\2014-04"2 $pathRoot = [System.IO.Path]::GetPathRoot($text)3 $driverLetter = $pathRoot[-2]4 Join-Path (...
分类:
其他好文 时间:
2014-08-21 16:31:24
阅读次数:
167
1.编译目标代码时指定的动态库搜索路径 -rpath; 2.环境变量LD_LIBRARY_PATH指定的动态库搜索路径; 3.配置文件/etc/ld.so.conf中指定的动态库搜索路径; 4.默认的动态库搜索路径/lib; 5.默认的...
分类:
其他好文 时间:
2014-08-21 15:21:44
阅读次数:
245
考察render path与drawcall的关系,每个camera可以单独设置render path。以计算光照,不考虑batching,且只有一个PASS的材质为样本,比如Diffuse;如果材质不受光照影响,则跳过光照相关的PASS,比如Unlit/Texture。1.Forward Path...
分类:
其他好文 时间:
2014-08-21 13:04:24
阅读次数:
339
重新加载网卡时出现的错误如下: 1 [root@vdb1 dev]# service network restart 2 Shutting down interface eth0: Device state: 3 (disconnected) 3 ...
分类:
Web程序 时间:
2014-08-21 12:54:54
阅读次数:
294
Hadoop HDFS文件常用操作及注意事项1.Copy a file from the local file system to HDFSThe srcFile variable needs to contain the full name (path + file name) of the fi...
分类:
其他好文 时间:
2014-08-21 12:50:04
阅读次数:
224
Oracle RAC数据库环境与单实例数据库环境有很多共性,也有很多异性。对于数据库补丁的更新同样如此,都可以通过opatch来完成。但RAC环境的补丁更新有几种不同的更新方式,甚至于可以在零停机的情况下对所有节点实现滚动升级。本文主要是转述了Doc 244241.1,描述RAC环境下的patch更新方式以及在不同的情形下选择何种更新方式。1、RAC patch的几种方式OPatch suppor...
分类:
数据库 时间:
2014-08-21 11:29:54
阅读次数:
266
1.Copy a file from the local file system to HDFSThe srcFile variable needs to contain the full name (path + file name) of the file in the local file s...
分类:
其他好文 时间:
2014-08-21 11:24:34
阅读次数:
242