PreacherUK
Technical User
Hey all,
I'm sure that I'm just missing something very obvious here but as with these kinds of things I can't see it.
Code:
UPDATE dbo.[tblGlobal_Availability] LEFT OUTER JOIN
dbo.[tblGSP55S9X - Security Data] ON dbo.tblGlobal_Availability.Isin =dbo.[tblGSP55S9X - Security Data].ISIN
SET dbo.tblGlobal_Availability.[Dirty Price] =dbo.[tblGSP55s9x - security data].[price]
WHERE ((dbo.tblGlobal_Availability.[Dirty Price])=0)
In short what I'm trying to do is update the first table tblGlobal_Availability, with a value 'price' from the second table 'tblGSP55s9x - security data'
I keep getting the error message: Incorrect syntax near the keyword 'LEFT'.
Can anyone help?
I'm sure that I'm just missing something very obvious here but as with these kinds of things I can't see it.
Code:
UPDATE dbo.[tblGlobal_Availability] LEFT OUTER JOIN
dbo.[tblGSP55S9X - Security Data] ON dbo.tblGlobal_Availability.Isin =dbo.[tblGSP55S9X - Security Data].ISIN
SET dbo.tblGlobal_Availability.[Dirty Price] =dbo.[tblGSP55s9x - security data].[price]
WHERE ((dbo.tblGlobal_Availability.[Dirty Price])=0)
In short what I'm trying to do is update the first table tblGlobal_Availability, with a value 'price' from the second table 'tblGSP55s9x - security data'
I keep getting the error message: Incorrect syntax near the keyword 'LEFT'.
Can anyone help?