注册 登录
编程论坛 VFP论坛

请教:如何在表格中自动添加一列作为该记录的行号

mayuchao 发布于 2020-07-25 20:39, 1321 次点击
使用indentity(int,1,1)方式,提示语法错误,求解
语句如下:
select indentity(int,1,1) as 序号,*  from  原表

[此贴子已经被作者于2020-7-25 20:41编辑过]

2 回复
#2
sdta2020-07-25 20:50
select recno() as 序号,*  from  原表
#3
mayuchao2020-07-25 20:56
回复 2楼 sdta
非常感谢,已解决
1