我在SQL Server中插入查询时遇到问题。查询全文为SQL Server查询 - 插入问题
insert into franchise (fran_id, name, address1, address2, city, state, zip, email, phone, text)
values(0, "DevFranchise1", "101 Main St.", "-", "Brighton", "Mi", "48116", "[email protected]", 8105551234, "asdflkjsadf");
现在“状态”和“文字”都亮蓝色。它给我的错误列表如下:
Msg 207, Level 16, State 1, Line 1
Invalid column name 'DevFranchise1'
Msg 207, Level 16, State 1, Line 2
Invalid column name '101 Main St.'
这是什么意思/我该如何解决它?
在将来我会避免使用任何关键字作为列名。如果它变得像你描述的蓝色,你知道什么是... – 2010-01-07 15:57:46
感谢帮助伙计们,我第一次在IIS服务器上工作。 – 2010-01-07 17:21:35