Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Delete Error
Message
From
08/03/2006 12:58:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01102519
Message ID:
01102528
Views:
20
>DELETE ;
> FROM Suppliers ;
> JOIN Products ON Suppliers.SupplierId = Products.SupplierId;
> WHERE Products.Id = 123
>
DELETE Suppliers;
   FROM Suppliers;
  JOIN Products ON Suppliers.SupplierId = Products.SupplierId;
  WHERE Products.Id = 123
>>>This code errors on the JOIN line. Anyone know why?
>>>
>>>
>>>DELETE ;
>>>  FROM Suppliers ;
>>>  JOIN Products ON Suppliers.SupplierId = Products.SupplierId;
>>>  WHERE Products.Id = 123
>>>
>>
>>It is ambiguous
>>You have to declare the deleted ALIAS
>>
>>DELETE .... FROM
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform