| Author |
Message |
howarthcd
Joined: 16 May 2007 Posts: 48
|
Posted: Tue Jan 03, 2012 2:31 pm Post subject: Prompting to Create New Database with SQL Server 2000 Target |
|
|
When performing a comparison where the target is an existing database attached to a SQL Server 2000 instance then I am prompted to create a new database when clicking 'Compare Now' on the 'New Project' window even though the target database exists.
The project options are set to 'Red-Gate Defaults' and the 'Decrypt encrypted objects on 2005 and 2008 databases.' option is not selected.
After running SQL Profiler against the SQL Server 2000 instance, the following queries are executed against the instance by SQL Compare:
| Code: |
| exec sp_executesql N'SELECT name from sys.databases where name = @dbName', N'@dbName nvarchar(8)', @dbName = N'MyDB' |
| Code: |
SELECT df.name as logical_name, df.physical_name as file_path, df.type_desc as file_type, f.name as file_group FROM sys.database_files df
LEFT OUTER JOIN sys.filegroups f ON f.data_space_id = df.data_space_id; |
These queries obviously fail when executed against SQL Server 2000.
SQL Compare version 10.0.0.143
The product documentation implies that it should be possible to use an existing SQL Server 2000 database as a target.
http://www.red-gate.com/supportcenter/Content/SQL_Compare/help/10.0/sc_Comparing_Diff_Versions
"If you are updating a SQL Server 2000 database..."
Chris |
|
| Back to top |
|
 |
howarthcd
Joined: 16 May 2007 Posts: 48
|
|
| Back to top |
|
 |
peter.peartSite Admin
Joined: 02 Sep 2008 Posts: 362 Location: Top floor, RG towers with the cool kids
|
Posted: Thu Jan 05, 2012 3:55 pm Post subject: |
|
|
Thanks for your post. I'm glad the patch resolved your issue. _________________ Peter Peart
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group