随笔分类 -  SQL技术

摘要: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 阅读(446) 评论(0) 推荐(0)

导航