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”