久久久久久久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)(將月份名稱轉換為日期/月份編號(問題和答案的組合))
主站蜘蛛池模板: 在线成人av| 精品综合久久 | 免费看91| 韩日精品一区 | 欧美区在线 | 欧美视频 | 欧美中文字幕在线观看 | 免费精品视频在线观看 | 精品久久久av | 国产区在线视频 | 91免费视频观看 | 日韩成人av在线 | 国产欧美精品 | 色www精品视频在线观看 | 老熟女毛片| 精品福利视频一区二区三区 | 欧美一区二区三区在线观看 | 久久久久一区 | 欧美中国少妇xxx性高请视频 | 日韩欧美综合在线视频 | 国产精品美女久久久久久久网站 | 国产在线一区二区三区 | 黄网站免费观看 | 精品真实国产乱文在线 | 亚洲一区久久 | 欧美日韩成人 | 国产精品成人一区 | 最新黄色毛片 | 夜夜爽99久久国产综合精品女不卡 | 日本久久一区二区三区 | 九九热免费观看 | 免费毛片网站在线观看 | 日本中文在线 | 91国自视频| 午夜av在线| 精品一区二区在线视频 | 婷婷久久网| 久久久久亚洲av毛片大全 | 国产精品区二区三区日本 | 色女人天堂 | 日本免费视频 |