if语句data b; set sashelp.class; if _n_ le 4; *如果if为真,则继续执行if后面的语句,最后输出满足if的条件的观测,如果if为假则立刻返回到data步开头继续执行下一条set语句; y = 'now'; /* y = 'now'; ...
分类:
其他好文 时间:
2014-07-06 23:53:00
阅读次数:
3010
测试了两个case,属于之前blog的遗留问题: innodb如何加载数据字典 flush tables都做了什么操作先来看下innodb加载数据字典: 首次使用:select * from tt;1. 创建handler对象函数调用栈: open_binary_frm ...
分类:
数据库 时间:
2014-07-03 06:21:07
阅读次数:
318
写完上一篇文章后,陆续有朋友给出了其他思路,我在小结在这篇博客中。思路一:转换成字符串后输出(这也是上一篇文章给的思路)1 1 SELECT CASE WHEN @a % @b = 0 THEN CAST(@a / @b AS VARCHAR(16)) 2 2 EL...
分类:
数据库 时间:
2014-07-02 19:52:12
阅读次数:
249
在现有类和结构体的类型基础上,扩展新的功能。 语法:extension SomeType{// new functionality to add to SomeType goes here}An extension can extend an existing type to make itadopt one or more protocols.Where this is the case,the...
分类:
其他好文 时间:
2014-07-02 07:36:22
阅读次数:
244
今天接到朋友数据库一个case,在DBCA建库时,把自动收集统计信息的选项去掉了,数据库运行半年没有收集过统计信息,现在要启用方法如下:
exec DBMS_AUTO_TASK_ADMIN.ENABLE();
exec DBMS_AUTO_TASK_ADMIN.ENABLE(client_name => 'auto optimizer stats collection',ope...
分类:
数据库 时间:
2014-07-02 07:31:51
阅读次数:
248
? 什么是if选择结构?if选择结构是根据条件判断之后再做处理语法:if ( 条件 ) {//结果必须是布尔值从而判断真和假,结果为“真” 执行if下的代码快,结果为“假”不执行if结构下的代码块 //代码块 }? 逻辑运算符运算符 表达式 说 明 && 条件1 && 条件2 仅仅...
分类:
其他好文 时间:
2014-07-01 12:19:27
阅读次数:
457
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
回文字符串是指: 两个字符串的字符个数完全相同,这两个字符串是Anagrams。因此Anagrams至少指俩字符串。找出字符集合中的Anagrams组。...
分类:
其他好文 时间:
2014-07-01 08:42:11
阅读次数:
250
Creating a Physical Standby Database
This case is created, operated and followed the steps from oracle online help documentation.
The configuration of the two sites server:
Primary Database:
[roo...
分类:
数据库 时间:
2014-07-01 06:22:46
阅读次数:
415
- (void)CallOtherPartWithTelNumber:(NSString *)telNumber andType:(NSInteger)type{ switch (type) { case 1: // 可以返...
分类:
其他好文 时间:
2014-06-30 22:09:43
阅读次数:
257
Creating a Physical Standby Database
This case is created, operated and followed the steps from oracle online help documentation.
The configuration of the two sites server:
Primary Database:
[roo...
分类:
数据库 时间:
2014-06-30 19:37:39
阅读次数:
313