alter table tbl_Donor
add constriant df_con1
default ((1)) for Active;
我收到错误消息:
Incorrect syntax near 'for'.
最佳答案
您拼写错误的约束。
在 SQL 服务器中:
alter table t add constraint df_con1 default 1 for Active;
关于mysql - 如何调试导致 '"出现错误 "Incorrect syntax near ' 的 SQL 查询?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42926111/