Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 converting varchar to bigint

Author  Topic 

dolly
Starting Member

3 Posts

Posted - 2005-01-19 : 17:06:18
I am converting some varchar values(containing only numbers) of length 20 to bigint...
convert(bigint,var)
The statement worked fine before , but now after new inputs, it generates an error :
Server: Msg 8114, Level 16, State 5, Line 1
Error converting data type varchar to bigint.

I checked the varchar value and its in the range of bigint
Any ideas how to solve this will be appreciated
thanks
dolly

clarkbaker1964
Constraint Violating Yak Guru

428 Posts

Posted - 2005-01-19 : 18:56:40
Duplicate Post:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=44926


Go to Top of Page
   

- Advertisement -