Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Steve2106
Posting Yak Master
183 Posts |
Posted - 2015-03-14 : 17:17:39
|
Hi There,Any help would be appreciated.I am trying to update a Variable table using a select but I keep getting an"Invalid column name 'Hyperlink'." errorBut Hyperlink is a genuine column name. I have tried adding [] brackets around the column name and I have also used the table name in front of the field name but I still get the error.This is the Sql.UPDATE @BatchedWO SET BatchHyperlink = [Hyperlink] SELECT Hyperlink FROM tb_WorkFiles WHERE tb_WorkFiles.WOID = 1I can't see whats wrong with the sql.Thanks for your help.Best Regards,Always Learning. |
|
gbritton
Master Smack Fu Yak Hacker
2780 Posts |
Posted - 2015-03-14 : 17:23:01
|
Post the DECLARE @BatchedWO statement |
|
|
|
|
|