Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
HIam getting this error:The multi-part identifier "STATUS.STATUS_ID" could not be bound. Query is:
strSQL = "SELECT STATUS.STATUS_ID,STATUS.STATUS_LABEL FROM STATUS INNER JOIN CALLS on STATUS.STATUS_ID=CALLS.STATUS_ID AND CALLS.CALL_ID= '" & Session("CALL_ID") & "'Union All Select STATUS.STATUS_ID, 'CLOSE' As STATUS_LABEL"
How do i fix this.. plss helpthanks..
Koji Matsumura
Posting Yak Master
141 Posts
Posted - 2007-08-08 : 03:41:25
.......Union All Select STATUS.STATUS_ID, 'CLOSE' As STATUS_LABELAbove statement has no FROM.Where do you expect STAUTS.STATUS_ID to come from?