2006年8月3日

1.将某种数据类型的表达式显式转换为另一种数据类型。CAST 和 CONVERT 提供相似的功能。
   语法:CAST ( expression AS data_type
   例子:cast(replace(Code,'Guide','')  as int )
    code是表的某一列: code
                    Guide2
                    Guide9
                    Guide10
                    Guide6

posted @ 2006-08-03 11:53 challenge 阅读(60) 评论(0) 编辑

导航

公告

统计