Hi,
I'm tearing my hair out on the simplest of queries (SQL Server 2k).
I'm using ASP and the code I was using worked fine when attached to an
Access MDB, but I can't crack it under SQL Server.
This is the code I'm trying in the SQL Query analyzer:
Update ClientTable inner join Cancellations on ClientTable.mob ileno =
Cancellations.m obileno set ClientTable .ExpiryReason = 888,
Cancellations.C ancelled = true
The word "join" is greyed out and I'm getting the error:
Incorrect syntax near the keyword 'inner'.
I'm sure it's something obvious, but I can't see the wood for the
trees!
Can anyone help???
TIA
Phil
I'm tearing my hair out on the simplest of queries (SQL Server 2k).
I'm using ASP and the code I was using worked fine when attached to an
Access MDB, but I can't crack it under SQL Server.
This is the code I'm trying in the SQL Query analyzer:
Update ClientTable inner join Cancellations on ClientTable.mob ileno =
Cancellations.m obileno set ClientTable .ExpiryReason = 888,
Cancellations.C ancelled = true
The word "join" is greyed out and I'm getting the error:
Incorrect syntax near the keyword 'inner'.
I'm sure it's something obvious, but I can't see the wood for the
trees!
Can anyone help???
TIA
Phil
Comment