Is it possible to have a varchar column as a primary key with values like ‘a ‘ and ‘a’, is gives always this error “Violation of PRIMARY KEY constraint” in MS SQL Server 2008.
In Oracle dons’t give any error.
BTW I’m not implementing this way I’m only trying to migrate the data from oracle to sql server.
Regards
You can use a
textorntextcolumn, which one depends on the kind of data you are importing and its length – this will preserve spaces.charwill pad spaces, so may not be suitable.