-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
siard --> microsoft sql: Error executing query: ALTER TABLE ... ADD FOREIGN KEY #528
Comments
The database user has the correct permissions? |
Meanwhile I checked the permissions of the user/login "testlogindbptk" In order to check, if the user has the permission to alter the tables, I did the following:
I captured the process in the attached video: Permissions_Microsoft_SQL_Studio.mp4 |
Hi, Manage to find the problem:
However due to the way DBPTK works it executes the prepared statements in batches making the errors not so obvious. |
Thank you. I have changed accordingly key-relevant columns from _true to false. Now the tables are correctly imported from SIARD into SQL. |
Description:
A siard file is loaded with dbptk into a Microsoft SQL Database.
No error message occurs during the transfer, but in the end
only 2 out of 8 tables are transferred.
Only in the dbvtk.log the user can see, that an error occured
during an ALTER TABLE query as a part of the automatic transfer process.
Steps required to reproduce the bug:
The siard-file:
0_1-3_Northwind_simple_220913.zip
Attach the dbptk-app.log.txt file below.
dbvtk.log
The text was updated successfully, but these errors were encountered: