Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SPT cursor question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00476388
Message ID:
00476592
Vues:
27
>>>>Is there a way to convert datetime to date fields in SPT cursor?
>>>
>>>Would TTOD() do what you want?
>>>
>>>SELECT TTOD(tMyDateTime) AS dMyDate...
>>
>>You can only use functions that the back end will understand for SPT. I think CONVERT() may be what's needed here.
>
>CONVERT() doesn't work either because SQL Server doesn't have a date datatype. I posted the same question a couple of days ago and the answer seems to be NO. You can do it with Remote Views, but not SPT cursors.

How many records in your result set? Would an extra SELECT with the TTOD() from the SPT result cursor into a new cursor be prohibitive?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform