系统运维

SQL Server数据库回顾之存储过程的创建和应用

时间:2010-12-5 17:23:32  作者:域名   来源:IT科技  查看:  评论:0
内容摘要:复制CreatePROCEDURE[dbo].[news_selectNewNews] AS BEGIN selecttop10

SQL Server数据库回顾之存储过程的创建和应用
复制Create PROCEDURE [dbo].[news_selectNewNews]   AS   BEGIN   select top10 n.id,据库n.title,n.createTime,c.[name],c.id as caId   from news n   inner join category c on n.caId=c.id   order by n.createTime desc   END  1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.
最近更新
copyright © 2025 powered by 编程之道  滇ICP备2023006006号-34sitemap