有没有办法在使用ASP更改Access中的主键?
问题描述:
有没有办法在使用ASP更改Access中的主键?
我的主键如下所示:
1101001CXR001MS01-01至1101001CXR001MS01- 24
我想将MS01更改为MS04。
Is there a way to change my primary key in Access using ASP?
My primary key looks like this:
1101001CXR001MS01-01 thru 1101001CXR001MS01-24
I want to change MS01 to MS04.
展开 | 选择 | 换行 | 行号
答
你有什么理由不能创建更新语句并执行它吗?
Is there any reason why you can''t just create an update statement and execute it?
展开 | 选择 | Wrap | 行号
获取新错误:
错误类型:
Microsoft VBScript编译(0x800A0401)
预期声明结束
/paneldatatest/indiana/fdp/movepaneldefault.asp,第65行,第18列
Getting a new error:
Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/paneldatatest/indiana/fdp/movepaneldefault.asp, line 65, column 18
展开 | 选择 | Wrap | 行号
@Jimqunkel,
我的不好。我在想嵌入式SQL,比如
@Jimqunkel,
My bad. I was thinking embedded SQL, like
展开 | 选择 | Wrap | 行号