Avoid any Bitwise Keywords

来源: DBDB 2004-02-18 10:49:48 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (661 bytes)
回答: try [T&WContracts]f642004-02-18 08:59:38
Peter,
I tried as this:
create table [S&M](num int)
insert into [S&M](num) values(1)
insert into [S&M](num) values(2)
insert into [S&M](num) values(3)
select * from [S&M]
num
-----------
1
2
3

It works.

Did the developer PC applied SQL2K-SP3a? Try it.

"&" has special meaning is Microsoft products, try to avoid it for any object naming. I think that table was from other database upsizing, ex. Access. A quick soluthion to rename the table, or any such tables, to
[T_WContracts],that name is still readable as similar meaning, but less trouble in coding.
Hopefully this ways work for you.
请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”