数据库
puffCN
这个作者很懒,什么都没留下…
展开
-
Mysql 常用命令
load data infile 'D:/1.csv' into table tablename fields terminated by ',' lines terminated by '/n';将csv格式的文件(行分隔符为换行符,列分隔符为逗号)Load进数据库原创 2010-06-30 14:37:00 · 583 阅读 · 0 评论 -
左联,右联与全外联【待完善】
<br />内 联:等同于两个字段相等。结果集为两表交集;<br />左(右)外联:指一方无数据但要显示全部记录;<br />全 外 联:指两方都有可能没有数据,但全显示。<br /><br />[Q]怎么实现左联,右联与全外联 <br />[A]在9i以前可以这么写: <br />左联: <br />select a.id,a.name,b.address from a,b <br />where a.id=b.id(+) <br />右联: <br />select原创 2010-07-08 16:03:00 · 1668 阅读 · 0 评论 -
Oracle Dump windows batch脚本
<br />Save the following lines as content of file dump.bat:<br /> <br />set date_string=%date:~0,4%_%date:~5,2%_%date:~8,2% set time_string=%time:~0,2%_%time:~3,2%_%time:~6,2% set file_string=E:/db/backup_%date:~0,4%_%date:~5,2%_%date:~8,2%_%time:~0,2%_%原创 2010-07-26 11:18:00 · 967 阅读 · 0 评论