If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > error (247) arithmetic overflow during implicit conversion of VARCHAR value

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-01-10, 10:22
simple1 simple1 is offline
Registered User
 
Join Date: Jul 2010
Posts: 1
error (247) arithmetic overflow during implicit conversion of VARCHAR value

I am getting the following error:

error (247) arithmetic overflow during implicit conversion of VARCHAR value '01/01/2010' to a DATETIME field.

when I execute the following proc with two date parameters:

EXEC somedb.dbo._p_proc '01/01/2010', '01/31/2010'

Parameters are: @start_date DATETIME, @end_date DATETIME.

I am not sure what the problem is?
Reply With Quote
  #2 (permalink)  
Old 07-07-10, 08:15
agrawal.meet agrawal.meet is offline
Registered User
 
Join Date: Jun 2010
Posts: 51
Please paste the full code. Only that can help.
Reply With Quote
  #3 (permalink)  
Old 07-08-10, 02:33
jannovak jannovak is offline
Registered User
 
Join Date: Feb 2009
Location: Prague
Posts: 17
It looks like you values are not in correct format for datetime type.
Check this, it may help.

Entering datetime and smalldatetime data
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On