久久久久久久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模板網(wǎng)!

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

相關文檔推薦

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?(如何從多個表創(chuàng)建視圖?)
Create calculated value based on calculated value inside previous row(根據(jù)前一行內的計算值創(chuàng)建計算值)
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屋-程序員軟件開發(fā)技
Recursive t-sql query(遞歸 t-sql 查詢)
Convert Month Name to Date / Month Number (Combinations of Questions amp; Answers)(將月份名稱轉換為日期/月份編號(問題和答案的組合))
主站蜘蛛池模板: 亚洲精品一区在线观看 | 中文字幕日韩专区 | 国产日韩欧美一区 | 91精品国产综合久久久久久丝袜 | 国产伦精品一区二区三区在线 | 日韩欧美一区二区三区四区 | 国产成人精品在线 | 日韩欧美一区二区三区免费观看 | 亚洲精品久久区二区三区蜜桃臀 | 亚洲一卡二卡 | 日韩视频在线观看一区二区 | 一区二区三区在线免费观看 | 国产精品久久久久久久久久三级 | 久久久久久一区 | 亚洲视频中文字幕 | 91色在线| 久久一区二区视频 | 精品久久久久久亚洲综合网站 | 在线欧美亚洲 | 中文在线播放 | 免费高清av | www日韩 | 久久久国产一区二区三区 | 狠狠操婷婷| 日本午夜免费福利视频 | 麻豆久久精品 | 天天干天天干 | 欧美激情综合五月色丁香小说 | 亚洲电影免费 | 欧美a级网站 | av手机免费在线观看 | 亚洲一区二区三 | 日本三级电影免费观看 | 成人精品鲁一区一区二区 | 精品一区二区三区四区五区 | 成人综合一区二区 | 亚洲一区二区三区在线 | 亚洲国产高清高潮精品美女 | 91九色在线观看 | 黄色毛片网站在线观看 | 狠狠综合久久av一区二区小说 |