Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to extract data from sql server db
Message
De
25/09/2002 17:05:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Need to extract data from sql server db
Divers
Thread ID:
00704486
Message ID:
00704486
Vues:
45
I need to extract some data e.g. phone nos based on date from sql db. I have inserted records in past in sql from vfp using

sSql = "Insert into Abc (phone, clistcode ) "
sSql = sSql + " values ('" + phone + "','" + listcode "')"
z = SqlExec(nhandle,sSql,'')

but I am not able to extract data from sql using query e.g.

sSql = "select * from abc where YEAR(calltime)=2002 AND MONTH(CALLTIME)=10 AND day(calltime)=20 INTO TABLE TEMPTABLE"

TIA

Munish Arora
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform