Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date default value in sqlserver
Message
From
08/09/2007 13:49:25
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
08/09/2007 12:40:57
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
01253060
Message ID:
01253215
Views:
27
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform