USE [wenhua2020]
create table t_1(
id bigint identity(1,1) not null,
TradingDay date not null default getdate(),
InstrumentID nvarchar(max) not null default '',
LastPrice decimal(18, 2) not null default 0,
PreClosePrice decimal(18, 2) not null default 0,
OpenPrice decimal(18, 2) not null default 0,
HighestPrice decimal(18, 2) not null default 0,
LowestPrice decimal(18, 2) not null default 0,
UpdateTime time(0) not null default getdate(),
Volume int not null default 0,
LowerLimitPrice decimal(18, 2) not null default 0,
primary key(id)
)
select count(*) from t_1
select * from t_1 order by id desc
delete from t_1