What is wrong with this SQL statement?

前端 未结 6 893
夕颜
夕颜 2021-01-23 00:06

I\'m trying to create this table and I want to gauge my eyes out. What is wrong with it? I get an error: \"Incorrect syntax near PLAN\"

create table Instrumentos         


        
6条回答
  •  温柔的废话
    2021-01-23 01:07

    PLAN is a reserved keyword.

    Change the name or use the appropriate escape for your server type. For MSSQL, I think you'd use [Plan], but you'll have to do that any time you write a query/procedure/etc.

提交回复
热议问题