Commiting only my changed DATA in shared database.
dsol
Posts: 1 New member
HI,
I have a shared SQL database being used by multiple developers. i have linked this database to a github on my local machine using SQL Source Control. I have a table setup to be tracked for any data changes. Now this table is used by multiple developers and they make changes to this table. when i try to commit any data changes to my local git , the (insets/updates) by other developers are also committed to my local git. is there a way ,where i can get option to select only the rows which i want to commit (like the interface i get using SQL Data compare).
I can't change my settings from shared DB to dedicated DB, since my source control is linked to GIT.
Any Suggestions ??
I have a shared SQL database being used by multiple developers. i have linked this database to a github on my local machine using SQL Source Control. I have a table setup to be tracked for any data changes. Now this table is used by multiple developers and they make changes to this table. when i try to commit any data changes to my local git , the (insets/updates) by other developers are also committed to my local git. is there a way ,where i can get option to select only the rows which i want to commit (like the interface i get using SQL Data compare).
I can't change my settings from shared DB to dedicated DB, since my source control is linked to GIT.
Any Suggestions ??
Tagged:
Answers
I can only agree with Rachel A. You need to be using the dedicated model, as each developer works on their own separate copy of the database.
https://documentation.red-gate.com/soc7/sql-source-control-for-teams/teams-using-the-dedicated-model
https://documentation.red-gate.com/soc7/sql-source-control-for-teams/teams-using-the-shared-model
Many Thanks
Eddie
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com