TUniDump exports table instead of view.

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
m227
Posts: 75
Joined: Mon 06 Aug 2007 12:41

TUniDump exports table instead of view.

Post by m227 » Wed 07 Feb 2018 13:52

Hi, I use TUniDump to dump data from MS SQL Server with command like
UniDump.BackupToFile(DumpFileName, mquery);

mquery looks like: SELECT * FROM dbo.View_xyz
so it is a View.

If i run mquery and put results to dataset I get all 5 columns, but in my exported file I got only two columns... like

Code: Select all

TRUNCATE TABLE dbo.BusinessObject_N;
INSERT INTO dbo.BusinessObject_N(idN, nrN) VALUES (102158, '5500095');
...

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: TUniDump exports table instead of view.

Post by Stellar » Thu 08 Feb 2018 12:22

TUniDump is not designed for storing and recovering the view data. Because the server forbids changing view if the modification concerns several basic tables.

Post Reply