| Author |
Message |
StormRider
Joined: 10 Nov 2011 Posts: 13
|
Posted: Mon Mar 26, 2012 10:19 pm Post subject: Just the data please. |
|
|
I want to use SQL Packager to generate a script that contains specific tables from our production database so my developers can apply live data to their database.
1) There doesn't appear to be any kind of command line option to exclude ALL schema.
2) How do you Exclude Dependencies?
3) Once i managed to exclude all of the schema, I get error:
Error: The selected objects are identical or no objects have been selected in the comparison.
Here's my command line args file:
<?xml version="1.0"?>
<commandline>
<force/>
<verbose/>
<makescript/>
<scriptdestination>c:\data\test.sql</scriptdestination>
<s1>qasql.local</s1>
<db1>prep</db1>
<u1>*</u1>
<p1>*</p1>
<excludeschema>Table</excludeschema>
<excludeschema>StoredProcedure</excludeschema>
<excludeschema>View</excludeschema>
<excludeschema>Schema</excludeschema>
<excludeschema>Role</excludeschema>
<excludeschema>User</excludeschema>
<includedata>Table:AppUser</includedata>
<includedata>Table:AppRoles</includedata>
</commandline> |
|
| Back to top |
|
 |
andy.campbell.smith
Joined: 20 Oct 2011 Posts: 124 Location: Red Gate Software
|
Posted: Wed Mar 28, 2012 3:39 pm Post subject: |
|
|
This is a known bug in SQL Packager, reference SPA-586. There isn't currently a command-line workaround, but you should be able to create data update packages from the GUI - is that an OK workaround?
I've added your details to the bug report, so I'll make sure you get notified when the bug gets fixed. _________________ Andy Campbell Smith
Red Gate Technical Support Engineer |
|
| Back to top |
|
 |
StormRider
Joined: 10 Nov 2011 Posts: 13
|
Posted: Wed Mar 28, 2012 9:01 pm Post subject: |
|
|
| Unfortunately no, this is going to be part of an automated nightly process. I'll take a look at SQL Data Compare and see what happens. |
|
| Back to top |
|
 |
andy.campbell.smith
Joined: 20 Oct 2011 Posts: 124 Location: Red Gate Software
|
|
| 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