Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp Equvalent Statement to Sql Server Statement
Message
 
À
15/08/2005 09:21:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01040949
Message ID:
01040954
Vues:
14
>Dear Experts,
>
>I want to execute SQL Server Code from Vfp form.
>
>The Vfp stament is 'Select 0000.00 as Cost, Qty from purchase into cursor cur1'.
>Can anybody help me how to write the same code as a Sql Server statement.
>
>i tried in this way
>Cast(Cost as Decimal(7,2), qty from purchase)
>
>But its giving error, pls help me
>
>Regards
>Abdulla
SELECT CAST(0 as Decimal(7,2)) AS Cost, Qty FROM purchase
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform