Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date default value in sqlserver
Message
De
08/09/2007 13:49:25
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
08/09/2007 12:40:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01253060
Message ID:
01253215
Vues:
25
>sqlserver's date fields come with datetime type.
>how can i have only date instead of datetime ?

In a view you can define the type of the result column as date. In a SPT cursor, you need to issue a 2nd select statement on your cursor where any datetime field would be selected through a ttod() or a Cast(datetimefield as date). If there's a better way to do it for SPT cursors, I'd like to know too.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform