作者:iamlaosong
我们经常在shell脚本程序中用
sqlplus emssxjk/emssxjk <<EOF
select count(*) from sncn_yxyj where create_date like sysdate;
EOF
其中的SQL语句相当于在sqlplus程序环境中输入的,这样输入的内容夹在两个EOF之间,可长可短,EOF也可以换成其他任意的字...
分类:
系统相关 时间:
2014-10-27 17:43:33
阅读次数:
384
Problem Description输入一个英文句子,将每个单词的第一个字母改成大写字母。Input输入数据包含多个测试实例,每个测试实例是一个长度不超过100的英文句子,占一行。Output请输出按照要求改写后的英文句子。Sample Inputi like acmi want to get a...
分类:
其他好文 时间:
2014-10-27 17:12:56
阅读次数:
176
1. PythonOf course you will need Python. Still Python 2.7 is preferred, however if you would like to create new projects with Python 3, it is also fin...
分类:
系统相关 时间:
2014-10-27 14:19:53
阅读次数:
283
REPORT ZTEST_UPEXCEL.data: gt_table type TABLE OF SFLIGHT, gs_table like line of gt_table.DATA:lt_excel TYPE TABLE OF ZSTABLINE.DATA ls_excel LI...
分类:
Web程序 时间:
2014-10-27 10:38:02
阅读次数:
233
安装了MySQL Server 6.0,在登陆是总是提示:1045 - Access denied for user ‘like’@'localhost'(using password:YES),在网上搜索半天最终解决,特记录下解决办法:第一步:停止mysql 服务;第二步:修改my.ini文件,具...
分类:
数据库 时间:
2014-10-27 00:18:26
阅读次数:
222
【题目】
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like
this: (you may want to display this pattern in a fixed font for better legibility)
P A H N
...
分类:
其他好文 时间:
2014-10-26 16:57:47
阅读次数:
182
MySQL 通配符SQL的模式匹配同意你使用“_”匹配不论什么单个字符,而“%”匹配随意数目字符(包含零个字符)。在 MySQL中,SQL的模式缺省是忽略大写和小写的。以下显示一些样例。注意在你使用SQL模式时,你不能使用=或!=;而使用LIKE或NOT LIKE比較操作符。为了找出以“b”开头的名...
分类:
数据库 时间:
2014-10-26 11:41:36
阅读次数:
210
Implementing Navigation with UINavigationControllerProblemYou would like to allow your users to move from one view controller to the other with a smoo...
分类:
其他好文 时间:
2014-10-26 11:29:13
阅读次数:
203
use databaseName
declare @tblname char(100)
declare @sql char(5000)
declare table_cursor cursor for select name from sysobjects where name like 'tb_card[_]%' and name'Tb_card_item' and name'tb_c...
分类:
数据库 时间:
2014-10-25 23:02:38
阅读次数:
177
1. 有效的验证需要验证工程师使用不同于设计者的思维方式思考问题。具体来说,验证更加关心在严格遵循协议的基础上发现设计里面的bug,搜索corner cases,对设计的不一致要保持零容忍的态度。mindset:一套人们应该持有的确定的态度,有时候又被描述为心里惯性,群体思维,范式,在分析和决策过程...
分类:
其他好文 时间:
2014-10-25 22:41:22
阅读次数:
310