Is there any way to make a permanent (e.g. TFile) record of SQL Query results? It seems like the TSQLRow objects, etc. lack the default constructors necessary to allow them to be written to a file.
I am not sure what is your intent in writing the SQLRow to a file …
Even SQLRow had a default constructor and was writeable to disk, the result would (likely) not be usefull since it would save some state/variable internal to the database client code.
So I suppose your intend on copying the data from a Database to a ROOT file. You might be better off trying the TTreeSQL class and ‘Cloning’ this tree to a file rather than going through the (lower level) TSQLRow class.