Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update table
Message
 
 
À
21/04/2011 10:31:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01508025
Message ID:
01508032
Vues:
43
>hello naomi I'm talking about sql server 2005 and I can not update it in the insert, because the field ncf should be the max ncf +1 in the same table at which to insert as the invoice and both depend on the field tipncf

In the above sample, please show the insert command and what this record should become?

I have a feeling you need to use ROW_NUMBER() function, but it's not clear from your explanation what do you want.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform