theniteowl
Programmer
Hi Again,
Related problem to last post but really a separate question:
Our vendor sent us replacement DDF files to either correct problems or add new functionality but the result was the loss of our own custom views that had been setup by a former employee so a web app could pull out some data.
I assume that the vendor did not know about the custom views and the DDF files they sent contain only their own code.
When I look at the database in Control Center it shows no views or stored procedures with the new file.
When I swap out the new file with an old backup I can see the views that need to be there. The old file is only 42k but the new one without the views is 144k.
I do not know the structure of these files or how they all work together in Pervasive but obviously the new file contains a lot of other information than the old one did.
I would like to migrate the views from the old file into the new file but there is a problem.
This server has no test or failover environment. For me to view the old file and copy out the info manually means replacing the current production file with the old one for the time it takes to copy everything over.
Not knowing what other information is contained in the VIEW.DDF file or what the impact would be to the application putting the old one in place I am worried about making the attempt. My test to check the old file only took me about 90 seconds but it would take me as much as 45 minutes to an hour to get the info I needed from it and the system is potentially being accessed 24 hours a day.
Is there a safe way to pull the views from the old file so I can enter them into the new one?
I could make a backup of the data files and create a new ODBC to connect to the backup to get at the data but I do not know what all the files are that would be involved.
Suggestions?
I have been searching for a DDF file viewer but what I have found so far are more editors/creators and I need to know I am not going to do anything that will alter the server files.
Thanks.
At my age I still learn something new every day, but I forget two others.
Related problem to last post but really a separate question:
Our vendor sent us replacement DDF files to either correct problems or add new functionality but the result was the loss of our own custom views that had been setup by a former employee so a web app could pull out some data.
I assume that the vendor did not know about the custom views and the DDF files they sent contain only their own code.
When I look at the database in Control Center it shows no views or stored procedures with the new file.
When I swap out the new file with an old backup I can see the views that need to be there. The old file is only 42k but the new one without the views is 144k.
I do not know the structure of these files or how they all work together in Pervasive but obviously the new file contains a lot of other information than the old one did.
I would like to migrate the views from the old file into the new file but there is a problem.
This server has no test or failover environment. For me to view the old file and copy out the info manually means replacing the current production file with the old one for the time it takes to copy everything over.
Not knowing what other information is contained in the VIEW.DDF file or what the impact would be to the application putting the old one in place I am worried about making the attempt. My test to check the old file only took me about 90 seconds but it would take me as much as 45 minutes to an hour to get the info I needed from it and the system is potentially being accessed 24 hours a day.
Is there a safe way to pull the views from the old file so I can enter them into the new one?
I could make a backup of the data files and create a new ODBC to connect to the backup to get at the data but I do not know what all the files are that would be involved.
Suggestions?
I have been searching for a DDF file viewer but what I have found so far are more editors/creators and I need to know I am not going to do anything that will alter the server files.
Thanks.
At my age I still learn something new every day, but I forget two others.