Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MOD() vs % (sql-syntax)
Message
De
04/01/2005 04:41:35
 
 
À
03/01/2005 10:46:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00973817
Message ID:
00974019
Vues:
19
>Hi all!
>
>I've encountered a strange behaviour when using MODULO-function.
>
>VFP8:
>MOD(10-12,12) = 10
>
>SQL:
>(10-12) % 12 = -2
>
>I need to use Modulo in my sql-syntax - what have I done wrong???
>
>Thanks for help!

Read Message #974018
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform