gmastros,
thanks for taking the time to respond. I completely understand what you mean about inserting a number into a varchar column. This was built a long time ago and I cannot modify it.
As for your proposed solution, I made the changes you recommended and still got the same error:
---------...
Simian, I'm not sure what you mean by reproduce the PK value. If you are talking about identifying the last PK used then starting from there, I'm not sure how to do that. Regardless, I visually looked to see what was the last PK number used, tried to write that value into the field, and still...
Hopper44, thanks for the reply.
Maybe my post wasn't clear, but I don't pull any unique values from the text file; better yet, any information that I pull from the text file is not intended to go into a primary key field.
Ultimately, I want to add the data from the text file to a table which...
Hello,
I've recently began learning SQL with SQL Server and it's been a blast so far. Right now, I am having a problem figuring out how to insert certain data into a destination table (not created by me, cannot alter it) that has a PK field which is a VARCHAR type and it doesn't appear to be an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.