Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to extract data from sql server db
Message
From
25/09/2002 17:05:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Need to extract data from sql server db
Miscellaneous
Thread ID:
00704486
Message ID:
00704486
Views:
44
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
Next
Reply
Map
View

Click here to load this message in the networking platform