Activity overview
Latest activity by Jamie Clayton
Code to trigger snapshots
G'day,
I've got a memory issue that I really want to measure at an exact point in the code tree to ensure that any modifications I make between run's are easy to compare results.
Is there a way to ...
SQL Compare - Exclude User problem
G'day,
I'm currently remotely supporting a clients databases and using the SQLCompare.exe command line + *.xml configuration arguments file to compare databases with snapshots.
One of the problems ...
Command Line Script File syntax limiation.
G'day,
In a group development/support environment I've setup a series of Command Line scripts + XML configuration files to report on the differences between database (SQL Compare). One of the prob...
Ok here is a simple example CREATE LOGIN [Jenasys] WITH PASSWORD=N'AshesTestMatch', DEFAULT_DATABASE=DB_2, DEFAULT_LANGUAGE=[British], CHECK_EXPIRATION=OFF, CHECK_POLICY=ON
GO
USE [DB_1]
GO
/****** Object: User [dbo] Script Date: 11/17/2006 11:17:07 ******/
GO
CREATE USER [dbo] FOR LOGIN [jenasys] WITH DEFAULT_SCHEMA=[dbo]
USE [DB_2]
GO
/****** Object: User [jenasys] Script Date: 11/17/2006 11:17:31 ******/
GO
CREATE USER [jenasys] FOR LOGIN [jenasys] WITH DEFAULT_SCHEMA=[dbo]
If I use SQL Compare against these two database the program doesn't seem to understand the difference between the user/role/schema components and a sync will fall over.
Does this make sense? I'm getting this a lot with clients as the setup database inconsistently via the IDE (aka IT Admin who have been given control of SQL Server).
/ comments
Ok here is a simple exampleCREATE LOGIN [Jenasys] WITH PASSWORD=N'AshesTestMatch', DEFAULT_DATABASE=DB_2, DEFAULT_LANGUAGE=[British], CHECK_EXPIRATION=OFF, CHECK_POLICY=ON
GO
USE &...
No problem, just give me a few days, to get the scripts together. I've got an application error to resolve in some of our software first. / comments
No problem, just give me a few days, to get the scripts together. I've got an application error to resolve in some of our software first.
G'day Jonathan,
Both of the databases I'm testing are hosted in SQL 2005 Standard edition. / comments
G'day Jonathan,
Both of the databases I'm testing are hosted in SQL 2005 Standard edition.
Brian,
Sorry about the typo with your name. :oops: / comments
Brian,
Sorry about the typo with your name. :oops:
G'day Biran,
:oops: I think it was a little unclear in my post, but I did try the [dbo] - [JenasysDesign] map owners. However behind the scenes dbo/Jenasysdesign had different users (=owners in SQL Compare - my assumption). This didn't work for me. All I can think is that there were different scheme/user maps behind the two.
Anyhow, if your correct and [x].table <> [y].table, then shouldn't that be displayed in Compare 5.2's results screen. At the moment [y].table doesn't get shown at all. Can you confirm this, or is it a PEBKAC issue. / comments
G'day Biran,
:oops: I think it was a little unclear in my post, but I did try the [dbo] - [JenasysDesign] map owners. However behind the scenes dbo/Jenasysdesign had different users (=owners in SQ...
Schema vs Ownership comparison.
G'day,
Just stuck trying to get SQL Compare to work under the following senario.
1. Created a blank database.
2. Compared and existing database to the blank, to generate a "duplicated" script.
3. I...