摘要: 今天用了 sql server xml nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '@P0'.] with root cause 报错了 控制台 显示 问号出现 阅读全文
posted @ 2023-01-12 14:48 未确定 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 随便记一下 直接利用row_number() over(order by id)函数计算出行数,选定相应行数返回即可,不过该关键字只有在SQL server 2005版本以上才有。 set statistics time on; -- 分页查询(通用型) select top pageSize * 阅读全文
posted @ 2023-01-12 12:02 未确定 阅读(9) 评论(0) 推荐(0) 编辑