SQL Function (SQL自定义函数)
摘要:
创建的自定义函数可以在可编程性->函数->标量性函数中管理--创建函数(返回varchar类型的值)select dbo.test(2)--传递参数2返回结果:错误--调用函数select * from dbo.GetTableDetails()--dbo.需要注意返回sales表的所有记录。--调用函数例:IP转Int函数 阅读全文
posted @ 2010-10-15 17:21 New.min 阅读(336) 评论(0) 推荐(0) 编辑