Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter type DATE not DATETIME
Message
De
14/02/2003 08:11:51
 
 
À
13/02/2003 16:09:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00752895
Message ID:
00753162
Vues:
22
>I have a report with "Date" not "DateTime" parameter.
>
>I need to call it from Sql-Server store procedure. How can I convert DateTime into Time?
>
>In VFP "Dtot(Date())" works well
>
>In Sql-Server i used "Cast(Cast(GetDate() As Int) As DateTime)" but it doesn't work.
>
>TIA

you have use
"select cast(Cast(GetDate() As VarChar) as datetime)"
Atenciosamente,
Welington Lourenço Melo de Paula BH / MG
welingtonl@yahoo.com.br
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform