摘要: -- 在表orders_ana_2020_temp添加yg_headfee 字段 alter table orders_ana_2020_temp add yg_headfee decimal(10,2) -- 修改已存在表字段类型ALTER TABLE item_inf ALTER COLUMN 阅读全文
posted @ 2020-11-03 17:07 温故纳新 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 使用公用表进行分页 declare @page int=1000000 -- 页码 declare @pageSize int=30 -- 页数 ;with data_cte as ( select ROW_NUMBER () over(order by id desc)'rn',* from or 阅读全文
posted @ 2020-11-03 08:53 温故纳新 阅读(131) 评论(0) 推荐(0) 编辑