[轉]http://oracledev.5d6d.com/archiver/tid-599.html
for i in 1 ..40 loop
copy(i,'block.item'||i);
end loop;
--将循环变量循环赋值给block.item1,block.item2....
2012年6月7日 星期四
拆字串迴圈 關鍵字:substr/instr/逗號
i := 1;
loop
exit when instr(v_tbnm,',',1,i) = 0;
if i= 1 then
t_1 := substr(v_tbnm, 0, instr(v_tbnm, ',', 1, i)-1);
else
t_1 := substr(v_tbnm, instr(v_tbnm, ',', 1, i-1)+1, instr(v_tbnm, ',', 1, i)
- instr(v_tbnm, ',', 1, i-1)-1);
end if;
i := i+1;
end loop;
2012年5月10日 星期四
[轉]oracle系統表查詢
http://big5.webasp.net/article/21/20760.htm
數據字典dict總是屬於Oracle用戶sys的。
1、用戶:
select username from dba_users;
改口令
alter user spgroup identified by spgtest;
數據字典dict總是屬於Oracle用戶sys的。
1、用戶:
select username from dba_users;
改口令
alter user spgroup identified by spgtest;
2012年4月23日 星期一
[轉]幾種WinForm的Form與Form之間的傳值方法
寫WinForm的程式,使用Form與Form之間的傳值方式並不少見,但從WebForm跳來寫WinForm的,可能就會搞不清楚WinForm的做法,所以這個問題也被常常拿出來,所以這邊大概列了幾種做法供參考.
2012年4月19日 星期四
[轉]copy from指令
2012年3月25日 星期日
Cisco VPN Client Reason 442
為了讓我的ipad2可以連到網路...藉用了Connectify這小軟體讓筆電成為無線AP,結果...CISCO VPN無法使用了...把Connectify移除掉還是無法,後來在網路找到這篇文章:
http://heylinux.com/archives/1396.html
解决Cisco VPN Client Reason 442: Failed to Enable Virtual Adapter
我发现最近在家里通过Cisco VPN Client 连接到VPN服务器的时候,客户端经常报错。
Reason 442: Failed to Enable Virtual Adapter
折腾很久,国内的国外的网站搜遍了也未能找到原因,终于最后自己偶然发现了解决这个问题的办法,那就是 “开始” – “运行” – “services.msc” – 停止 “Internet Connection Sharing (ICS)”,话说这类问题虽没什么技术含量,但遇到的时候真的很让人郁闷。
2012年3月23日 星期五
[轉]TextBox 如何輸入轉大寫、小寫
http://a-jau.blogspot.com/2010/08/c-textbox-code.html
[C#] TextBox 如何輸入轉大寫、小寫,限制輸入相關code(二)
C# Winform通常在TextBox會依照個人需求,而需要限制使用者輸入數字,英文(大小寫),這裡談的是如何使輸入自動轉大小寫,或者限制輸入大寫。
輸入自動轉大小寫有2個方法
1.手動去更改code,使用事件TextChanged 輸入如下程式碼:
2.使用屬性
可以把TextBox的CharacterCasing属性改為Upper即可實現自動轉大寫。
Lower改小寫,Normal是預設直。
輸入自動轉大小寫有2個方法
1.手動去更改code,使用事件TextChanged 輸入如下程式碼:
private void textBox1_TextChanged(object sender, System.EventArgs e)
{
this.textBox1.Text=this.textBox1.Text.ToUpper(); //轉大寫
/* this.textBox1.Text=this.textBox1.Text.ToLower(); //轉小寫 */
this.textBox1.SelectionStart=this.textBox1.Text.Length;
}2.使用屬性
可以把TextBox的CharacterCasing属性改為Upper即可實現自動轉大寫。
Lower改小寫,Normal是預設直。
訂閱:
文章 (Atom)