|
-
Apr 18th, 2001, 05:14 PM
#1
Thread Starter
Lively Member
I have a decimal no 36997.6950553241. If I use cdate(36997.6950553241) in vb, the date returned just 2 days before I use convert(datetime, 36997.6950553241) in SQL server. Can anybody explain this???
-
May 8th, 2001, 05:50 AM
#2
Fanatic Member
Part of the problem will be due to rounding. SQLServer can handle larger decimals than VB. Not sure why you want to do a Cdate on a decimal though, the fact that it returned 2 days before I suspect was a fluke. I'd be surprised if it was consistant.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|