Page 1 of 1

Unidump BackupQuery question

Posted: Mon 27 Jan 2014 09:18
by Doraemon
Hi,

I want to do a file dump of a SQL statement. Therefore, I'm searching for something like Unidump.BackupQueryToFile.

I know, I can do a normal backup with Unidump.BackupQuery and then do a Unidump.SQL.SaveToFile, but I don't want to do this for large tables, because I have worries that this will eat up my memory...

Thanks for any suggestions!
Regards.

Re: Unidump BackupQuery question

Posted: Mon 27 Jan 2014 10:40
by AlexP
Hello,

To dump directly to a file, you can use the BackupToFile method.

Re: Unidump BackupQuery question

Posted: Mon 27 Jan 2014 11:18
by Doraemon
Hi AlexP,

Thanks for your prompt response!
I know of BackupToFile method and I've used it already to dump whole tables, but is it possible to dump with this method also the result of specific SQL statements?

Thanks!

Re: Unidump BackupQuery question

Posted: Mon 27 Jan 2014 11:38
by AlexP
Yes, you can use your SQL query specifying it as the second parameter in the BackupToFile method.

Re: Unidump BackupQuery question

Posted: Mon 27 Jan 2014 13:32
by Doraemon
I haven't noticed the second parameter in BackupToFile. I think that will do it!
Thanks for your kind support!

Re: Unidump BackupQuery question

Posted: Wed 29 Jan 2014 07:51
by AlexP
If you have any further questions, feel free to contact us.