Activity overview
Latest activity by bhopenw
Migration workflow
Just wondering if there are going to be built in region/environment migration tools or will have to leverage SQL Compare and Data Compare?
Thus far the TFVC integration seems great, but I having tr...
I am having a very simular issue where a stored proc is being updated before the column is added. Is there a way to force order? I am using SQL COmpare 8.1 for the Cmd line via an automated powershell script.
thanks,
BJHop / comments
I am having a very simular issue where a stored proc is being updated before the column is added. Is there a way to force order? I am using SQL COmpare 8.1 for the Cmd line via an automated powers...
DBO in Live db -- Permissions
GRANT VIEW DEFINITION ON SCHEMA:: [dbo] TO [corp\dubele]
GRANT VIEW DEFINITION ON SCHEMA:: [dbo] TO [CORP\HNANDIP]
GRANT VIEW DEFINITION ON SCHEMA:: [dbo] TO [CORP\ibingha]
GO
There is no DBO.sql file in the Schema folder
the pane shows the above in the Live DB area and blank pane for the scripts folder
The only warnings I get are the following:
IF clause evaluated as true
SQL Compare considers only the first block of code in IF statements. Schema changes made by ELSE conditions do not appear in the comparison results.
all having to do with users
Hope this helps / comments
DBO in Live db-- Permissions
GRANT VIEW DEFINITION ON SCHEMA:: [dbo] TO [corp\dubele]
GRANT VIEW DEFINITION ON SCHEMA:: [dbo] TO [CORP\HNANDIP]
GRANT VIEW DEFINITIO...
Schema DBO object always different
Hello
When comparing a Live DB to a scripts folder the schema DBO object always shows up as different no matter how many times I try to sync the scripts folder, this is new for SQL Compare 8. Sche...
Okay,
It looks this is possible and it shouldn't be all that difficult using powershell.
We use SQL Changeset (SQLCS) to connect to TFS 2005 sp1
When SQL Changeset first starts up it adds some elements to the users local Application Data folder (C:\Documents and Settings\bhopenw\Local Settings\Application Data\Red Gate\SQL Changeset). In this directory, there is a xml file named configuration.xml, this is the file use by SQLCS to registery the TFS/SCCI workspaces.
With that fact found it is truly a simple powershell script to get this working. below is the workflow, I have not finished up the script yet but when I do I will post it.
* Ensure SQLCS has been started at least once, need to have local app Data section set, if not start it.
* Ensure SQLCS is not running, if it is prompt to stop or kill it
* Create workspace with mappings set from parameters/config file
* Add <PairOfScProviderOpenProjectInfo> node to configuration.xml
* start SQLCS
Where I see this working is we are going to have a common SCP and this script will set up the local environment (workspace) for the developers.
Thanks,
BJHop / comments
Okay,
It looks this is possible and it shouldn't be all that difficult using powershell.
We use SQL Changeset (SQLCS) to connect to TFS 2005 sp1
When SQL Changeset first starts up it adds some elem...
SQL Changeset setup
Hello,
Is there a way to automatically setup/register workspaces in SQL Changeset.
Ideally, we would like to save a project (.scp) file that compares a Dev DB to the Latest Scripts folder. Add this...
Brian
Good stuff, I like what you have done. This does look to be the way to go, thanks. Nevertheless, I think I am going to be push back on the BA to see if I can change the requirement to force backup for Table drops only for this release. This way I don't have to add the complexity of the SDK to my scripts for to a release due next week.
Again thank you
BJHop / comments
Brian
Good stuff, I like what you have done. This does look to be the way to go, thanks. Nevertheless, I think I am going to be push back on the BA to see if I can change the requirement to force ...
While I have got the table drop capture working I am searching for a way to see a column drop. I believe that only way to get this done is to use the SDK.
I that is the way I'm going to move now, unless, anyone has a way w/o the SDK.
Thanks,
BJHop / comments
While I have got the table drop capture working I am searching for a way to see a column drop. I believe that only way to get this done is to use the SDK.
I that is the way I'm going to move now, ...
Okay
I was able to capture a table drop by examining the results of a sync script creation (Up script) command. I am running in Powershell therefore I was able to look of a line that begin with 'TABLE' and contains '<<'
Now I just need a way to find column drops which I think will be a bit more of a challenge.
Again any and all ideas are welcome
thanks,
BJHop / comments
Okay
I was able to capture a table drop by examining the results of a sync script creation (Up script) command. I am running in Powershell therefore I was able to look of a line that begin with 'T...