摘要:CREATE FUNCTION stoi (@s string='')RETURNS intASBEGIN if isnumric(s) return cast(s as int) else return 0END
阅读全文
posted @ 2005-06-14 14:44
|
|||
随笔分类 - MSSQL
存储过程,技巧
摘要:CREATE FUNCTION stoi (@s string='')RETURNS intASBEGIN if isnumric(s) return cast(s as int) else return 0END
阅读全文
posted @ 2005-06-14 14:44
|
|||