sqlserver 删除数据,并且序号恢复从1开始

浪淘沙2年前数据库532
delete from article_author;dbcc checkident('article_author',reseed,0)


相关文章

postgresql 日期函数

select distinct(TO_CHAR(rq, 'YYYY-MM-DD')) from fz_rl order by...

给表加备注

EXEC sys.sp_addextendedproperty @name=N'MS_Description',@level1type=N'TABLE...

sqlite id 设为uuid 默认值

 lower(hex(randomblob(16)))...

postgersql 多表联合查询

select zph_chrq.qyid,zph_chrq.lxdh as phone,qy.qymc from zph_chrq INNER  join qy on zph_chrq.qy...

postgresql 取消id主键和自增后,添加完数据,又恢复自增

ALTER TABLE qy_gw ALTER COLUMN id SET DEFAULT nextval('q...

PostgreSQL数据库允许其他IP连接到数据库(Windows & Linux)

https://blog.csdn.net/h1773655323/article/details/142454517...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。