Retrive Data from "restore filelistonly"
Retrive Data from "restore filelistonly"
How can i retrieve data from a "restore filelistonly"-Command? I try the MSQuery with "RESTORE FILELISTONLY FROM DISK = '<backupfile>'" and get a Metadata-Error (German Errormessage: "Die Metadaten konnten nicht bestimmt werden, weil die RESTORE FILELISTONLY FROM DISK = '<backupfile>'-Anweisung keine Metadatenermittlung unterstützt.").
Re: Retrive Data from "restore filelistonly"
Unfortunately, we can't reproduce the described problem. Please make sure that the SQL query you are using is successfully executed in SQL Server Management Studio. Use the same credentials as you used in SDAC.
Re: Retrive Data from "restore filelistonly"
I have found the error. I create a own class for the query (and create the TMSQuery inside), and have set there "AutoPrepare = true"...
Re: Retrive Data from "restore filelistonly"
It is good to see that the problem has been solved. Feel free to contact us if you have any further questions about SDAC.