Comments
8 comments
-
Hi @DBADave !
I'm afraid it's not possible to exclude a folder at the moment. Can you please add a feature request for this on our uservoice forum? https://redgate.uservoice.com/forums/141379-sql-compare
Just to confirm though, are you mainly looking to exclude static data? You should be able to do this via the /Include:StaticData switch.
>>If not, then what's the /exclude:Table syntax to exclude any table starting with a #
Just to confirm, do you mean temporary tables in a pre/post deployment scripts?
-
@DBADave - what are you trying to achieve? Are you just needing to deploy schema changes and not static data? If so, can you explain why?
-
Jessica R said:Hi @DBADave !
I'm afraid it's not possible to exclude a folder at the moment. Can you please add a feature request for this on our uservoice forum? https://redgate.uservoice.com/forums/141379-sql-compare
Just to confirm though, are you mainly looking to exclude static data? You should be able to do this via the /Include:StaticData switch.
>>If not, then what's the /exclude:Table syntax to exclude any table starting with a #
Just to confirm, do you mean temporary tables in a pre/post deployment scripts?
-
David Atkinson said:@DBADave - what are you trying to achieve? Are you just needing to deploy schema changes and not static data? If so, can you explain why?
-
@DBADave - In your opinion should the snapshot creation succeed (ie, is this a bug in SQL Compare) or do you think these #temp tables shouldn't be used in your scripts?
-
@David Atkinson - Yes I think the snapshot should succeed as these scripts are manipulating data rather than creating database objects. Would it be fair to say if the static data exclusion is used then these files would get ignored if they were in the StaticData folder?
-
DBADave said:@David Atkinson - Yes I think the snapshot should succeed as these scripts are manipulating data rather than creating database objects. Would it be fair to say if the static data exclusion is used then these files would get ignored if they were in the StaticData folder?
-
Jessica R said:Hi @DBADave !
I'm afraid it's not possible to exclude a folder at the moment. Can you please add a feature request for this on our uservoice forum? https://redgate.uservoice.com/forums/141379-sql-compare
Just to confirm though, are you mainly looking to exclude static data? You should be able to do this via the /Include:StaticData switch.
>>If not, then what's the /exclude:Table syntax to exclude any table starting with a #
Just to confirm, do you mean temporary tables in a pre/post deployment scripts?
Add comment
Please sign in to leave a comment.
Is there a way when using the command line with a Script source to exclude either an entire subfolder of the Scripts root folder? If I have \Database\Tables\ & \Database\Static Data\, can I exclude "Static Data"? If not, then what's the /exclude:Table syntax to exclude any table starting with a # ?
Thanks.