Author Topic: [solved] Update custom items  (Read 9848 times)

0 Members and 2 Guests are viewing this topic.

Offline fuser

  • Member
  • *
  • Posts: 4
    • View Profile
[solved] Update custom items
« on: May 28, 2013, 06:29:51 pm »
How do one update/import custom items in existing database with rebuilding it from scratch?
My DB contains posters, so CSV/EXCEL export, update and reimport is out of question.

« Last Edit: May 31, 2013, 06:58:34 pm by fuser »

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: Update custom items
« Reply #1 on: May 28, 2013, 08:59:52 pm »
Hi fuser,

do you want to export from PVD into another database or the other way round? I am migration data from and to other databases via xml files and locally saved images. You can easily adapt existing scripts to take care of your custom fields. Have a look at the scripts I published in the template and scripts forum lately. If you need any assistance or if I should write a script for you, don't hesitate to ask.

Oliver

http://www.videodb.info/forum_en/index.php/topic,3359.0.html
http://www.videodb.info/forum_en/index.php/topic,3360.0.html
http://www.videodb.info/forum_en/index.php/topic,3357.0.html

Offline fuser

  • Member
  • *
  • Posts: 4
    • View Profile
Re: Update custom items
« Reply #2 on: May 31, 2013, 06:58:16 pm »
Since PVD file is Firebird database, one can use a GUI tool to open PVD file and execute SQL command(s) against database to modify data in DB.

Example:
1) GUI tool: FirebirdMaestro (Flamerobin didn't work for me)
2) SQL command: INSERT INTO CUSTOM_VALUES_SHORTSTR VALUES(cmfid,mid,'custom value');

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: [solved] Update custom items
« Reply #3 on: June 01, 2013, 03:21:58 pm »
Haven't thought of manipulating PVD database directly but I will definitely try this and will report...

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: Update custom items
« Reply #4 on: June 13, 2013, 08:10:54 am »
Since PVD file is Firebird database, one can use a GUI tool to open PVD file and execute SQL command(s) against database to modify data in DB.

Example:
1) GUI tool: FirebirdMaestro (Flamerobin didn't work for me)
2) SQL command: INSERT INTO CUSTOM_VALUES_SHORTSTR VALUES(cmfid,mid,'custom value');

Firebird Maestro is commercial software and costs 99$ for non commercial use. This is a little bit too expensive just to have a look inside the PVD database.

Offline fuser

  • Member
  • *
  • Posts: 4
    • View Profile
Re: Update custom items
« Reply #5 on: June 15, 2013, 05:35:21 pm »
Firebird Maestro is commercial software and costs 99$ for non commercial use. This is a little bit too expensive just to have a look inside the PVD database.
Just to have a look inside the PVD DB, you have to manage with trial version. Flamerobin is open source.

 

anything