常见的输出语句echo()可以一次输出多个值,多个值之间用逗号分隔。echo是语言结构(language
construct),而并不是真正的函数,因此不能作为表达式的一部分使用。print()函数print()打印一个值(它的参数),如果字符串成功显示则返回true,否则返回false。print...
分类:
其他好文 时间:
2014-05-01 21:40:50
阅读次数:
355
1, insert into test select * from
test;(造测试数据)2, create table b as select * from a;
(创建表结构一样的空表,数据可同上插入数据)3,linux系统下让sqlplus支持历史命令回调在linux中实现上述功能,需要.....
分类:
数据库 时间:
2014-05-01 21:33:20
阅读次数:
447
Linux下Rsync+inotify-tools实现数据实时同步中有一个重要的配置就是设置Inotify的max_user_watches值,如果不设置,当遇到大量文件的时候就会出现出错的情况。一般网上修改方法就是直接修改文件:/proc/sys/fs/inotify/max_user_watch...
分类:
系统相关 时间:
2014-05-01 21:22:57
阅读次数:
715
1.测试sql语句执行时间的方法,获得时间差declare @end_date
datetimeselect @begin_date = getdate()--要执行的sql语句select @end_date =
getdate()select datediff(ms,@begin_date,@e...
分类:
数据库 时间:
2014-05-01 21:11:51
阅读次数:
398
1.python进行文件读写的函数是open或file类 mode:r 只读 r+ 读写 w
写入,先删除原文件,再重新写入,如果文件没有则创建 w+ 读写,先删除原文件,再重新写入,如果文件没有则创建(可写入和输出) a
写入,在文件末尾追加新的内容,文件...
分类:
编程语言 时间:
2014-05-01 21:00:16
阅读次数:
402
安装ccs_setup_5.1.1.00028.exe后(无论是自己装eclipse还是在原来的基础上安装eclipse的插件),ccs5的应用无法打开,错误为:An
error has occurred.See the log file .\workspace\.metadata\.log.本现象...
分类:
其他好文 时间:
2014-05-01 20:57:36
阅读次数:
888
开发环境:操作系统: (uname -a output)Linux ubuntu
3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64
x86_64 GNU/LinuxJDK 版本 : (java -ve...
分类:
编程语言 时间:
2014-05-01 20:46:54
阅读次数:
565
Requirement-Driven Linux Shell
ProgrammingRequirement-Driven Linux Shell ProgrammingTable of Contents1. Where
can I find the basic Material about Linu...
分类:
系统相关 时间:
2014-05-01 20:40:05
阅读次数:
678
#include void pr_stdio(const char *, FILE *);int
main(){ FILE *fp; fputs("enter any character\n",stdout); if(getchar()==EOF)
printf("getchar error");....
分类:
其他好文 时间:
2014-05-01 20:18:16
阅读次数:
321
版本不对的原因。具体在10.5.9下修改此参数即可解决问题。LoadFunction()
has an ACritical parameter. It is set to True by default, but can be set to
False for individual function...
分类:
系统相关 时间:
2014-05-01 20:14:57
阅读次数:
594