一直没有好好关注这个功能,昨天看了一下,数据库插入有瓶颈,今天研究了一下:主要有以下方案:1.使用copy从文件导入:copy table_001(a, b, "f", d, c, "e") from 'd:/data1.txt' (delimiter ','); 速度极快: 不带索引: 查询...
分类:
数据库 时间:
2014-06-26 19:54:31
阅读次数:
392
1:拷贝ThinkPHP框架系统文件夹自己的www目录中的tp-shop文件夹中2:新建自己的项目文件(比如:shop)夹与ThinkPHP框架系统文件夹在同一级目录(当然也可以不同)3: 在tp-shop目录下建立index.php并且在页面中引入ThinkPHP文件夹中ThinkPHP.php文...
分类:
其他好文 时间:
2014-06-26 19:17:43
阅读次数:
279
彩 字秀 http://www.czxiu.com/Banner图片制作网站:http://www.bannerbreak.com/index.php在线图片生成网站:http://www.letterjames.de/卡通头像:http://www.moeruavatar.com/index_cn...
分类:
Web程序 时间:
2014-06-26 19:14:29
阅读次数:
208
网上好多资料,但运行起来,总是有问题,这次好保存下来。phalcon下:第一步:在index.php里面添加 include __DIR__ . "/../app/extensions/phpexcel/PHPExcel.php";第二步:写下面function/* * 批量导入用户 ...
分类:
Web程序 时间:
2014-06-26 19:02:51
阅读次数:
1719
Postgresql两表联合更新近日使用Postgresql感到有点不好用,一个联合更新非要这样写语法才对:update d_routetripset name=b.name , description=b.descriptionfrom d_scenery as bwhere foreignid=...
分类:
数据库 时间:
2014-06-26 19:00:20
阅读次数:
296
先看语法:String.SubString(int index,int length) index:开始位置,从0开始 length:你要取的子字符串的长度例子: 1 using System; 2 using System.Collections.Generic; 3 using Sys...
分类:
其他好文 时间:
2014-06-26 18:31:49
阅读次数:
214
#include#includetypedef char* ElementType;typedef unsigned int Index;#define MinTableSize 15struct ListNode;typedef struct ListNode *Position;struct H...
分类:
其他好文 时间:
2014-06-26 18:04:01
阅读次数:
155
bt5的metasploit下连接postgresql在《metasploit渗透测试指南》已经介绍很清楚了,但是kail下部分路径是不一样,我就来科普一下。求过审核1.首先开启postgresql服务命令:service postgresql start2.查看账户密码:cat /opt/meta...
分类:
数据库 时间:
2014-06-26 17:50:56
阅读次数:
713
#include#include"fatal.h"typedef char* ElementType;typedef unsigned int Index;typedef Index Position;struct HashTbl;typedef struct HashTbl *HashTable;...
分类:
其他好文 时间:
2014-06-26 17:19:52
阅读次数:
150
http://www.mohurd.gov.cn/ 住建部http://www.shaanxijs.gov.cn/ 陕西住建厅http://www.xacgb.gov.cn/ptl/index.html 西安市城改办http://www.shaanxijs.gov.cn/jiqun/ 全省住...
分类:
其他好文 时间:
2014-06-26 17:01:31
阅读次数:
297