dbTalk Databases Forums  

Connectiviity error involving Sql Server

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Connectiviity error involving Sql Server in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Peggy Mall
 
Posts: n/a

Default Connectiviity error involving Sql Server - 11-24-2009 , 08:31 AM






This is the error I am getting:

Connectivity error: [Microsoft] [ODBC SQL Server Driver] [SQL Server] Conversion failed when converting the varchar value '4/24/' to data type int.

From http://www.developmentnow.com/g/95_2...-sqlserver.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Connectiviity error involving Sql Server - 11-24-2009 , 04:24 PM






Peggy Mall (pmall (AT) sc (DOT) pima.gov) writes:
Quote:
This is the error I am getting:

Connectivity error: [Microsoft] [ODBC SQL Server Driver] [SQL Server]
Conversion failed when converting the varchar value '4/24/' to data type
int.
I would not call that a connectivity error, but a plain error at run-time.

Since there is absolutely no context, I cannot really help you. The error
message is what it says. There is an attempt to convert a non-numeric
string to int.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
  #3  
Old   
Andrew Morton
 
Posts: n/a

Default Re: Connectiviity error involving Sql Server - 11-25-2009 , 03:07 AM



Peggy Mall wrote:
Quote:
This is the error I am getting:

Connectivity error: [Microsoft] [ODBC SQL Server Driver] [SQL Server]
Conversion failed when converting the varchar value '4/24/' to data
type int.
Were you trying to do the calculation 4/24?

Andrew

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.