惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
D
DataBreaches.Net
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Check Point Blog
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
IT之家
IT之家
月光博客
月光博客
U
Unit 42
K
Kaspersky official blog
T
Threatpost
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
P
Proofpoint News Feed
Last Week in AI
Last Week in AI
云风的 BLOG
云风的 BLOG
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
Engineering at Meta
Engineering at Meta
Recorded Future
Recorded Future
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Security @ Cisco Blogs
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
Security Archives - TechRepublic
Security Archives - TechRepublic
Webroot Blog
Webroot Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
Schneier on Security
S
Secure Thoughts
The Register - Security
The Register - Security
B
Blog RSS Feed
The Last Watchdog
The Last Watchdog
P
Palo Alto Networks Blog
爱范儿
爱范儿
B
Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News and Events Feed by Topic
阮一峰的网络日志
阮一峰的网络日志
L
LINUX DO - 热门话题
C
Cisco Blogs
Spread Privacy
Spread Privacy
F
Full Disclosure
博客园 - 聂微东
T
The Blog of Author Tim Ferriss

博客园 - 自己

查询端口被占用 android 环境配置 android 打包部署 多个数据库备份到同一个设备文件 sql split struts2 if 标签 - 自己 js返回上一页 IE Javascript 脚本失效解决办法 sql修改表名 sql修改列名 sql STUFF用法 sql REPLACE用法 破解Lockdir 如何把string类型转化成long类型 sql报错 必须声明表变量 sql 增加一列,以sql语句形式向表中添加一列 Eclipse自动排版,Eclipse 代码自动排版 eclipse 如何显示行号 Eclipse如何调整字体颜色和大小
sql 函数
自己 · 2009-09-28 · via 博客园 - 自己

--函数 Create Function GetString(@id int) returns varchar(200) as begin declare @i varchar(200) set @i='abc' return @i end --调用 select dbo.GetString() --删除 drop function to_char 可以没有参数,但是一定有返回值 Create Function GetString() returns varchar(200) 返回值为表类型的函数 Create Function SalesByStore(@storeid varchar(30)) Returns Table As Return (Select title, qty From sales s, titles t Where s.stor_id = @storeid and t.title_id = s.title_id) SELECT * FROM Pubs.dbo.SalesByStore(7131)

posted on 2009-09-28 17:14  自己  阅读(265)  评论()    收藏  举报