Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Delete Error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01102519
Message ID:
01102528
Vues:
19
>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
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform