field "number" in the sql export
Posted: 2006-11-01 07:21:00
Hello,
thanks again for your template, it's finaly working perfectly for me.
The field "number" wasn't exported because it was selected as the last field for advanced filter, after "insertion date" and "original title".
I removed it and now my sql export looks better :
DROP TABLE IF EXISTS movies;
CREATE TABLE movies (NUM INT NOT NULL, CHECKED TEXT, MEDIA TEXT, MEDIATYPE TEXT, SOURCE TEXT, DATEADD DATE, BORROWER TEXT, RATING INT, ORIGINALTITLE TEXT, TRANSLATEDTITLE TEXT, FORMATTEDTITLE TEXT, DIRECTOR TEXT, PRODUCER TEXT, COUNTRY TEXT, CATEGORY TEXT, YEAR INT, LENGTH INT, ACTORS TEXT, URL TEXT, DESCRIPTION TEXT, COMMENTS TEXT, VIDEOFORMAT TEXT, VIDEOBITRATE INT, AUDIOFORMAT TEXT, AUDIOBITRATE INT, RESOLUTION TEXT, FRAMERATE TEXT, LANGUAGES TEXT, SUBTITLES TEXT, FILESIZE TEXT, DISKS INT, PICTURENAME TEXT, PRIMARY KEY (NUM));
INSERT INTO movies (NUM, CHECKED, MEDIA, MEDIATYPE, SOURCE, DATEADD, BORROWER, RATING, ORIGINALTITLE, TRANSLATEDTITLE, FORMATTEDTITLE, DIRECTOR, PRODUCER, COUNTRY, CATEGORY, YEAR, LENGTH, ACTORS, URL, DESCRIPTION, COMMENTS, VIDEOFORMAT, VIDEOBITRATE, AUDIOFORMAT, AUDIOBITRATE, RESOLUTION, FRAMERATE, LANGUAGES, SUBTITLES, FILESIZE, DISKS, PICTURENAME) VALUES ('264', 'True', '', 'DVD', '', '2005-03-21', '', '8.8', 'The Lord Of The Rings (the Fellowship Of The Ring)', 'Le seigneur des anneaux (la communauté de l''anneau)', 'The Lord Of The Rings (the Fellowship Of The Ring) (Le seigneur des anneaux (la communauté de l''anneau))', 'Peter Jackson', '', 'Américain', 'Fantastique', '2001', '165', 'Elijah Wood, Ian Mac Kellen, Viggo Mortensen, Sean Astin', 'http://www.cinefil.com/cinefil2005/fich ... ?ref=33475', 'Frodon, un jeune Hobbit, hérite d''un anneau magique qui, s''il venait à tomber entre les mains du sinistre Sauron, le seigneur des ténèbres, donnerait à ce dernier le pouvoir absolu sur la Terre du Milieu. Sur les conseils du magicien Gandalf, Frodon et ses amis entament le dangereux périple qui doit les conduire à détruire l''anneau...', '', '', '', '', '', '', '', '', '', '', '', 'movie_264.gif');
thanks again for your template, it's finaly working perfectly for me.
The field "number" wasn't exported because it was selected as the last field for advanced filter, after "insertion date" and "original title".
I removed it and now my sql export looks better :
DROP TABLE IF EXISTS movies;
CREATE TABLE movies (NUM INT NOT NULL, CHECKED TEXT, MEDIA TEXT, MEDIATYPE TEXT, SOURCE TEXT, DATEADD DATE, BORROWER TEXT, RATING INT, ORIGINALTITLE TEXT, TRANSLATEDTITLE TEXT, FORMATTEDTITLE TEXT, DIRECTOR TEXT, PRODUCER TEXT, COUNTRY TEXT, CATEGORY TEXT, YEAR INT, LENGTH INT, ACTORS TEXT, URL TEXT, DESCRIPTION TEXT, COMMENTS TEXT, VIDEOFORMAT TEXT, VIDEOBITRATE INT, AUDIOFORMAT TEXT, AUDIOBITRATE INT, RESOLUTION TEXT, FRAMERATE TEXT, LANGUAGES TEXT, SUBTITLES TEXT, FILESIZE TEXT, DISKS INT, PICTURENAME TEXT, PRIMARY KEY (NUM));
INSERT INTO movies (NUM, CHECKED, MEDIA, MEDIATYPE, SOURCE, DATEADD, BORROWER, RATING, ORIGINALTITLE, TRANSLATEDTITLE, FORMATTEDTITLE, DIRECTOR, PRODUCER, COUNTRY, CATEGORY, YEAR, LENGTH, ACTORS, URL, DESCRIPTION, COMMENTS, VIDEOFORMAT, VIDEOBITRATE, AUDIOFORMAT, AUDIOBITRATE, RESOLUTION, FRAMERATE, LANGUAGES, SUBTITLES, FILESIZE, DISKS, PICTURENAME) VALUES ('264', 'True', '', 'DVD', '', '2005-03-21', '', '8.8', 'The Lord Of The Rings (the Fellowship Of The Ring)', 'Le seigneur des anneaux (la communauté de l''anneau)', 'The Lord Of The Rings (the Fellowship Of The Ring) (Le seigneur des anneaux (la communauté de l''anneau))', 'Peter Jackson', '', 'Américain', 'Fantastique', '2001', '165', 'Elijah Wood, Ian Mac Kellen, Viggo Mortensen, Sean Astin', 'http://www.cinefil.com/cinefil2005/fich ... ?ref=33475', 'Frodon, un jeune Hobbit, hérite d''un anneau magique qui, s''il venait à tomber entre les mains du sinistre Sauron, le seigneur des ténèbres, donnerait à ce dernier le pouvoir absolu sur la Terre du Milieu. Sur les conseils du magicien Gandalf, Frodon et ses amis entament le dangereux périple qui doit les conduire à détruire l''anneau...', '', '', '', '', '', '', '', '', '', '', '', 'movie_264.gif');