Can anyone help me understand why I get a "Syntax error in INSERT INTO statement" error with this query?
INSERT INTO Employees (Title, FirstName, LastName, Company, Department, Mailstop, Extension, City, State, Bldg, Floor, DirList, Prefix, Notes, Phone, importID, importDate, Desc)
SELECT Title, FirstName, LastName, Company, Department, Mailstop, Extension, City, State, Bldg, Floor, DirList, Prefix, Notes, Phone, importID, importDate, Desc
FROM dbo_Employees
Please take note of the column in blue, "Desc". This appears to be the problem column as if I remove it from the statement the query works fine. The confusing thing is that, with the exception of the importID column, every column in both tables are exactly the same. And I mean exactly the same. They are all Text columns with the exact same properties. I even looked specifically at the Desc column in both tables and made sure each of their properties were exactly the same. Same length, no default values, neither are required, indexed, both allow zero length. They are practically twins.
Any ideas why I'm getting this error?
INSERT INTO Employees (Title, FirstName, LastName, Company, Department, Mailstop, Extension, City, State, Bldg, Floor, DirList, Prefix, Notes, Phone, importID, importDate, Desc)
SELECT Title, FirstName, LastName, Company, Department, Mailstop, Extension, City, State, Bldg, Floor, DirList, Prefix, Notes, Phone, importID, importDate, Desc
FROM dbo_Employees
Please take note of the column in blue, "Desc". This appears to be the problem column as if I remove it from the statement the query works fine. The confusing thing is that, with the exception of the importID column, every column in both tables are exactly the same. And I mean exactly the same. They are all Text columns with the exact same properties. I even looked specifically at the Desc column in both tables and made sure each of their properties were exactly the same. Same length, no default values, neither are required, indexed, both allow zero length. They are practically twins.
Any ideas why I'm getting this error?