Dear all,
I don't have much experience with SQL Server so...
I have this;
When I try to make a Select query using the LEFT Operator everything works fine. The problem is that I cannot use this operator in an Update query (I do not know the syntax and the Help Index didn't show me anything).
I write this command
UPDATE Cat_PartAttachment
SET LEFT(Location, 22) = N'./SupplierImages/EBO41'
WHERE LEFT(Location, 22) = N'./SupplierImages/EBO14')
The result is this error... "Incorrect syntax near the keyword 'LEFT'."
Any ideas ??
Thank you all for your time
Timos
I don't have much experience with SQL Server so...
I have this;
When I try to make a Select query using the LEFT Operator everything works fine. The problem is that I cannot use this operator in an Update query (I do not know the syntax and the Help Index didn't show me anything).
I write this command
UPDATE Cat_PartAttachment
SET LEFT(Location, 22) = N'./SupplierImages/EBO41'
WHERE LEFT(Location, 22) = N'./SupplierImages/EBO14')
The result is this error... "Incorrect syntax near the keyword 'LEFT'."
Any ideas ??
Thank you all for your time
Timos