0
我在下方有varchar中的Customer_Telephone_Number值。Ms Sql将varchar转换为Big Int
Customer_Telephone_Number值:(222)-3333-333
INSERT INTO DATABASE_1.dbo.CUSTOMER_TABLE
(
Customer_Telephone_Number
)
Select
CONVERT(BIGINT,Customer_Telephone_Number)
from
DATABASE_2.DBO.CUSTOMER_TABLE
,如果我尝试插入Customer_Telephone_Number价值Database_1,我得到异常的下方。
Error converting data type varchar to bigint.
那么我怎样才能解决这个问题,或者我可以删除“(”和“)”来解决问题呢?
任何帮助将不胜感激。
谢谢。
你知道哪些可能的非数字字符? –
1-()-222-2296 2-(332)-228-1180 3-() - - – michael