Skip to Content
0
Former Member
Feb 15, 2011 at 09:53 AM

Error facing while generating a FMS

40 Views

Hi Experts

This is the query i am trying to generate

SELECT T0.[U_F1] FROM [dbo].[@Table1] T0 WHERE T0.[U_Code] = $ [@Table2.U_Code]

But it shows the following error:

1). [Microsoft][SQL Native Client][SQL Server]Incorrect syntax near '@Table2.U_Code. 2). [Microsoft][SQL Native Client][SQL Server]Statement 'Document' (RDOC) (s) could not be prepared.

Kindly tell me what mistake i have been made....

Regards

Shibin