J
joshyanny
I'm trying to run the command:
INSERT
INTO dbo_Contact_Addr
(
id, addr, addr2, city, state, country, zipcode,
zip_extnd
)
SELECT id, address, address2, city, state, country, zipcode,
zipcode_extnd
FROM Contact_Addr
To move data from an Access database into a SQL Server 2005 database.
The datatypes are as follows:
dbo_Contact_Addr.
id SMALLINT
addr VARCHAR(50)
addr2 VARCHAR(50)
city VARCHAR(50)
state VARCHAR(50)
country VARCHAR(50)
zipcode SMALLINT
zip_extnd SMALLINT
Contact_Addr.
id AUTONUMBER
address TEXT
address2 TEXT
city TEXT
state TEXT
country TEXT
zipcode NUMBER
zipcode_extnd NUMBER
I've tried using the conversion wrapper functions (CInt, CStr, etc)
and gotten nowhere. It keeps giving me the error:
Runtime Error '3464' : Data Type Mismatch In Criteria Expression
Any ideas?
INSERT
INTO dbo_Contact_Addr
(
id, addr, addr2, city, state, country, zipcode,
zip_extnd
)
SELECT id, address, address2, city, state, country, zipcode,
zipcode_extnd
FROM Contact_Addr
To move data from an Access database into a SQL Server 2005 database.
The datatypes are as follows:
dbo_Contact_Addr.
id SMALLINT
addr VARCHAR(50)
addr2 VARCHAR(50)
city VARCHAR(50)
state VARCHAR(50)
country VARCHAR(50)
zipcode SMALLINT
zip_extnd SMALLINT
Contact_Addr.
id AUTONUMBER
address TEXT
address2 TEXT
city TEXT
state TEXT
country TEXT
zipcode NUMBER
zipcode_extnd NUMBER
I've tried using the conversion wrapper functions (CInt, CStr, etc)
and gotten nowhere. It keeps giving me the error:
Runtime Error '3464' : Data Type Mismatch In Criteria Expression
Any ideas?