Walter Meester
HoogkarspelPays-Bas
Bonnie,
>Yep. It's really no big deal though. It would actually be select/update/delete though ... an insert can be handled by the update SP (if you pass it a non-zero, non-null PK, it does an update, otherwise it does an insert).
Well doing it in one procedure only makes sense if you make use of the autoincrement feature. It becomes more complicated when you want to insert an order with orderlines into one transaction where you have to know the order_pk in the orderlinestable before you insert the records.
Walter,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement