当前位置: 当前位置:首页 >应用开发 >SQL Server数据库如何按百分比查询出表中的记录数 正文

SQL Server数据库如何按百分比查询出表中的记录数

2025-11-05 05:10:26 来源:多维IT资讯作者:人工智能 点击:523次
SQL Server数据库如何按百分比查询出表中的记录数
据库复制create procedure pro_topPercent    (     @ipercent [int] =0               --默认不返回   )   as   begin   select  top (@ipercent )  percent * from books   end  1.2.3.4.5.6.7.8.
作者:IT科技
------分隔线----------------------------
头条新闻
图片新闻
新闻排行榜