久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

無法綁定多部分標識符 sql

multi part identifier could not be bound sql(無法綁定多部分標識符 sql)
本文介紹了無法綁定多部分標識符 sql的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我在以下查詢中得到 multipart can not be bound 錯誤

I get multipart can not be bound error on following query

update nfltx
set 
b.boxno = a.boxno,
b.message = a.message,
b.nameboxno = a.nameboxno,
b.namemsg = a.namemsg,
b.phoneboxno = a.phoneboxno,
b.phonemsg = a.phonemsg

FROM ofltx a JOIN nfltx b 
ON a.ls_fullnam = b.ls_fullnam

但是如果我從 boxno 消息中刪除 b 并且所有我都不會收到錯誤消息.這背后的原因是什么.感謝您使用 sql server 2008

but if i remove b from boxno message and all i do not get the error . What is the reason behind this. Thank You using sql server 2008

推薦答案

在 FROM 子句中指定的表別名不能用作 SET column_name 中的限定符.這是無效的:

A table alias specified in a FROM clause cannot be used as a qualifier in SET column_name. This is not valid:

update nfltx
set 
b.boxno = a.boxno,
b.message = a.message,
b.nameboxno = a.nameboxno,
b.namemsg = a.namemsg,
b.phoneboxno = a.phoneboxno,
b.phonemsg = a.phonemsg

FROM ofltx a JOIN nfltx b 
ON a.ls_fullnam = b.ls_fullnam

要使其工作,請刪除 b.列名的別名.

To make it work, remove the b. alias from the column name.

update nfltx
set 
boxno = a.boxno,
message = a.message,
nameboxno = a.nameboxno,
namemsg = a.namemsg,
phoneboxno = a.phoneboxno,
phonemsg = a.phonemsg

FROM ofltx a JOIN nfltx b 
ON a.ls_fullnam = b.ls_fullnam

拉杰

這篇關于無法綁定多部分標識符 sql的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Converting Every Child Tags in to a Single Column with multiple Delimiters -SQL Server (3)(將每個子標記轉換為具有多個分隔符的單列-SQL Server (3))
How can I create a view from more than one table?(如何從多個表創建視圖?)
Create calculated value based on calculated value inside previous row(根據前一行內的計算值創建計算值)
How do I stack the first two columns of a table into a single column, but also pair third column with the first column only?(如何將表格的前兩列堆疊成一列,但也僅將第三列與第一列配對?) - IT屋-程序員軟件開發技
Recursive t-sql query(遞歸 t-sql 查詢)
Convert Month Name to Date / Month Number (Combinations of Questions amp; Answers)(將月份名稱轉換為日期/月份編號(問題和答案的組合))
主站蜘蛛池模板: 国产网站在线免费观看 | 久久久www成人免费精品 | 亚洲午夜精品久久久久久app | 久久综合888 | 国产精品日韩欧美一区二区三区 | 久久国产欧美日韩精品 | 91精品国产乱码久久久 | 精品视频免费 | 日本一区二区三区四区 | 国产精品一区二区三区久久 | 91xh98hx 在线 国产 | 国产精品久久 | 国产精品美女久久久久久免费 | 国产视频中文字幕 | 国产免费观看一级国产 | 久久99精品视频 | 国产一区亚洲二区三区 | 国产成人精品一区二 | 精品美女视频在线观看免费软件 | 在线视频一区二区三区 | 成人av电影在线 | 日韩在线成人 | 久久综合一区二区 | 日韩性生活网 | 午夜电影福利 | 男女羞羞视频在线 | 日韩高清在线 | 91精品久久久久久久久 | 一级看片免费视频囗交动图 | 成人国产精品久久久 | 日韩色图在线观看 | 国内自拍真实伦在线观看 | 国产一区二区三区网站 | 视频一区 亚洲 | av一区在线| 婷婷狠狠 | 在线观看免费福利 | 久久剧场 | 国产激情精品 | 欧美三级在线 | 二区国产|