General information
Forum:
Microsoft SQL Server
Title:
Date data type is converted to character by vfp?
Environment versions
SQL Server:
SQL Server 2008
I read that the date data type was added to sql server in server 2008. For the following statement:
lnr=sqlexec(lnh,"select cast(dt_date as date) as date_ from activity","curactivity")
dt_date is a datetime data type. In the cursor curactivity, date_ become character (10), not vfp's data type date.
Is there anyway to directly convert this this vfp's date datatype?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only