畅想无限

 

随笔分类 -  SQL -- 自定义函数

sql自定义函数
摘要:两点要注意:1:返回类型是returns 不是return2:返回类型是table 还是varchar 还是table col 要注意使用的位置。create function selectByonid(@oneid int) returns table as return ( select * from t_class where oneid=@oneid ) select * from dbo... 阅读全文

posted @ 2009-10-19 14:25 net酷 阅读(220) 评论(0) 推荐(0)

导航