bigint フィールドを nvarchar フィールドで更新したい。だから、私はこのクエリを書きます。
update table1
set convert(bigint,table1.No)=convert(bigint,substring(table_2.Desc,21,50))
from table1
inner join table_2 on table1.ID=table_2.ID
SQL Server は、「データ型 nvarchar から bigint への変換中にエラーが発生しました。」のようなエラーを表示します。この問題を解決するにはどうすればよいですか? 誰でも私を助けてください。