Ask help for sql server

來源: peterqpang 2004-09-03 06:55:58 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (434 bytes)
update tbl_surveys
set site_specific_3=(select site_specific_3 from youthmapentry.dbo.tbl_surveys
where site_number=youthmapentry.dbo.tbl_surveys.site_number
and [id]=youthmapentry.dbo.tbl_surveys.[id])

then I got this error
Server: Msg 279, Level 16, State 3, Line 1
The text, ntext, and image data types are invalid in this subquery or aggregate expression.

How can I do this update,

Thanks a lot

所有跟帖: 

Use VARCHAR instead of TEXT -CutOnce- 給 CutOnce 發送悄悄話 (12 bytes) () 09/03/2004 postreply 07:17:02

回複:Use VARCHAR instead of TEXT -peterqpang- 給 peterqpang 發送悄悄話 (60 bytes) () 09/03/2004 postreply 07:53:22

I found answer -peterqpang- 給 peterqpang 發送悄悄話 (201 bytes) () 09/03/2004 postreply 08:20:11

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”