I exported a database to a .bacpac but when I tried to import said .bacpac again an error is raised:
"Data plan execution failed with message One or more errors occurred" and the error that triggered this failure was "Invalid length parameter passed to the LEFT or SUBSTRING function. The statement has been terminated. (Microsoft SQL Server, Error: 537)"
When I looked at the imported database I find that one table that contained data when it was exported does not contain data after the import.
When I delete everything out of that table and create a new .bacpac, the new .bacpac imports without problems.
Question: why might the mere fact that there are data in a particular table cause an import to fail like that?