Comments
Sort by recent activity
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...
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...
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, ...
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 ...
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...
I do see you line of thinking; if you are in a script why not just make a call to a backup script and I that is what I am going to do. Nevertheless, the backup before sync was a feature that was requested of my script a few days ago and I thought if I can just upgrade the scripts to SQL Compare 8 that would be easier than writing a backup script myself.
thanks for your quick reply
BJHop / comments
I do see you line of thinking; if you are in a script why not just make a call to a backup script and I that is what I am going to do. Nevertheless, the backup before sync was a feature that was ...
Example of names are:
dbo.SDISP_HLIC_GET_INQUIRY.sql
dbo.SDISP_HLIC_GET_INQUIRY1.sql
dbo.SDISP_HLIC_GET_INQUIRY2.sql
These two SP are different
Error Message:
"A duplicate stored procedure name ([DBO].SDISP_HLIC_GET_INQUIRY]) has been found. This may occur if the SQL Server that you are reqistering is case sendsitive but the case sensitive option is not set"
I've seen this once before when I was using Sql Compare v7.0 and we had some Full Text search code (Constraints) that it didn't like. The compare would keep added a new SP with a number appended it like above to the scripts folder.
Trouble here is the SP are in the Live DB
Thanks,
BJHop / comments
Example of names are:
dbo.SDISP_HLIC_GET_INQUIRY.sql
dbo.SDISP_HLIC_GET_INQUIRY1.sql
dbo.SDISP_HLIC_GET_INQUIRY2.sql
These two SP are different
Error Message:
"A duplicate stored procedure name ([D...