数据库
文章平均质量分 76
iteye_16805
这个作者很懒,什么都没留下…
展开
-
mysql 命中索引
命中索引 alter table 表名 add index 字段名_index(字段名); 例如命中索引 alter table submit_item add index actualAddress_reverse_index(actualAddress_reverse);原创 2011-08-10 10:27:25 · 256 阅读 · 0 评论 -
将oracle SQL语句执行结果导入文本文件
将oracle SQL语句执行结果导入文本文件 1 创建directory create or replace directory DIR as 'd:\temp'; 为用户赋予该directory的权限 grant all on directroy dir to public; 2 创建函数function crea...原创 2011-04-20 11:27:49 · 293 阅读 · 0 评论 -
sql语句导入导出大全
/******* 导出到excel exec master..xp_cmdshell 'bcp settledb.dbo.shanghu out c:\temp1.xls -c -q -s"gnetdata/gnetdata" -u"sa" -p""' /*********** 导入excel select * from opendatasource( 'micros...原创 2011-04-20 13:31:21 · 78 阅读 · 0 评论