>>>Note that sometimes you can get the red squiggly underline because of the intellisense cache
>>>
>>>So again...what is the error message you're getting?
>>
>>The error is that the AnotherDb..MyTable2 is invalid object. And the column names have squiggly underline.
>
>And you're positive that you have a table called MyTable2 in another database , and that it's under the default schema of 'dbo' ? (on the same database server)
I resolved the problem. Thank you ALL for your help. It was a typo in my syntax that was causing the problem. Working under time and customer pressure is no fun.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham