Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Delete Error
Message
 
To
08/03/2006 12:58:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01102519
Message ID:
01102529
Views:
18
AHHH! The blind see

Not enough coffee this morning.

Thanks Fabio!







>>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
>>>
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform