SQL Server

(1)NVL函数:格式NVL( string1, replace_with),当string1为null,则返回replace_with的值,否则返回string1的值,两个为null,则返回null;

(2)mod函数:求余函数,其格式为: mod(nExp1,nExp2),即是两个数值表达式作除法运算后的余数。

(3)执行存储过程:exec PROC_Name start_period,end_period,-1;

 

posted @ 2015-09-14 14:41  rosewong  阅读(224)  评论(0)    收藏  举报