Red Gate forums :: View topic - WriteToFileOptions
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK Previous Versions
SQL Comparison SDK Previous Versions forum

WriteToFileOptions

Search in SQL Comparison SDK Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
stevepatches



Joined: 29 Nov 2005
Posts: 7

PostPosted: Wed Jan 21, 2009 12:23 am    Post subject: WriteToFileOptions Reply with quote

Hi,

Can someone provide more information on how WriteToFileOptions works when calling SaveToFolder? I am trying to do several things with it but I don't see how in the documentation:

1 - drop the dbo. prefix in certain cases
2 - use a different directory structure
3 - overwrite existing files rather than adding a 1 2 3 etc prefix

Thanks in advance,
-Steve
Back to top
View user's profile Send private message
Andras



Joined: 19 May 2005
Posts: 249
Location: Cambridge, UK

PostPosted: Fri Jan 23, 2009 5:02 pm    Post subject: Re: WriteToFileOptions Reply with quote

stevepatches wrote:
Hi,

Can someone provide more information on how WriteToFileOptions works when calling SaveToFolder? I am trying to do several things with it but I don't see how in the documentation:

1 - drop the dbo. prefix in certain cases
2 - use a different directory structure
3 - overwrite existing files rather than adding a 1 2 3 etc prefix

Thanks in advance,
-Steve


Hi Steve,

the answers:
1 - you cannot do this
2 - you can specify directory prefixes, e.g. foo\bar\ will put the items into the foo\bar\ subfolder
3 - you cannot do this

Regards,
Andras
_________________
András Belokosztolszki, PhD
Red Gate Software Ltd.
Back to top
View user's profile Send private message MSN Messenger
stevepatches



Joined: 29 Nov 2005
Posts: 7

PostPosted: Fri Jan 23, 2009 9:46 pm    Post subject: Reply with quote

For #2, sorry I wasn't clear on the question. The tool produces directories like this:

Functions
Security
Stored Procedures
etc.

But what if I want directories like this:
Functions
Roles
Schemas
Users
Procedures

I see an ObjectPrefixes property but it's read-only.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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