Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL datetime --> VFP date in a query
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00630844
Message ID:
00630868
Vues:
18
>Hallo all
>I wonder if somebody have a solution on a dateproblem.
>I want the datepart of a datetimefield from an SQL server.
>Something like this:
>
>select "datepart of a datetimefield" as "datefield" from MySQLtable
>
>I hope you understand my question, I have looked everywhere for a simple solution on this.
>Of course I can convert the datetimefield in VFP later, after the SQL query is done, but are there some way to do the convert direct in the query.
>
>Thanks in advance
>/Kjell

Isn't DATEPART T-SQL function appropriate for your need?
Venelina Jordanova

Outsourcing IT Services Ltd.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform