1、存储过程示例:为指定的职工在原工资的基础上长10%的工资SQL> create or replace procedure raiseSalary(empid in number) as pSal emp.sal%type; begin select sal int...
分类:
其他好文 时间:
2014-07-03 10:47:30
阅读次数:
171
1. 最笨的办法.......function get() { var s = 22.127456 + ""; var str = s.substring(0,s.indexOf(".") + 3); alert(str); }2. 正则 效果不错3. 他就比较聪明了.....4.会用新鲜东西的.....
分类:
Web程序 时间:
2014-07-03 10:39:46
阅读次数:
205
6.6 Referring to a Type withtypeofAnother way to refer to the type of an expression is withtypeof. The syntax of using of this keyword looks likesizeo...
分类:
其他好文 时间:
2014-07-01 17:37:49
阅读次数:
248
在用户滚动页面到图片之后才进行加载,使用图片延迟加载,能有效的提高页面加载速度。所需js插件:主script方法:
分类:
Web程序 时间:
2014-07-01 17:27:47
阅读次数:
206
Add-Type -Assembly PresentationCore[Windows.Clipboard]::SetText("abc中文def")先用 $output | Out-String 整成一个多行字符串$output = "String 整成一个多行字符串"$OutputEncodin...
分类:
其他好文 时间:
2014-07-01 16:42:41
阅读次数:
203
反射允许我们在编译期或运行时获取程序集的元数据,通过反射可以做到:● 创建类型的实例● 触发方法● 获取属性、字段信息● 延迟绑定...... 如果在编译期使用反射,可通过如下2种方式获取程序集Type类型:1、Type类的静态方法Type type = Type.GetType("somename...
分类:
其他好文 时间:
2014-07-01 16:38:29
阅读次数:
232
以下是一个快速实现该需求的 module。只要将以下代码复制粘贴到 Documents\WindowsPowerShell\Packages\PowerShell\PowerShell.psm1 即可。$script:showWindowAsync = Add-Type –memberDefinit...
分类:
其他好文 时间:
2014-07-01 16:22:22
阅读次数:
262
188上导出数据库elink:dbexport –o/home/ap/dcclink/.shan/194/elink elink;
194上导入数据库elink:dpimport –c –ddatadbs –i /home/ap/dcclink/.shan/elinkelink。
遇到问题如下:
一. The type of your terminal is unknownto t...
分类:
数据库 时间:
2014-07-01 15:02:44
阅读次数:
245
localhost:~ hejiasheng$ xcrun swift
Welcome to Swift! Type :help for assistance.
1> var a:Int
a: Int = 0
2> let b:Int
:2:5: error: 'let' declarations require an initializer expression
let b:Int
...
分类:
移动开发 时间:
2014-07-01 14:23:25
阅读次数:
443
Since I use Sublime ,I want to write aencoding convent program .Here isthe knowage what i need .InputStreamReader:This class is the brage from bytetyp...
分类:
其他好文 时间:
2014-07-01 13:57:23
阅读次数:
214