You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE VIEW filemetadata AS SELECT userid, filemapping.internalfilename, filemapping.externalfilename, defaulttask, attributetype, numberofattributes, numberofinstances, missingvalues FROM filemapping JOIN metadata ON filemapping.internalfilename = metadata.internalfilename
CREATE TRIGGER prepareMetadata AFTER INSERT ON filemapping REFERENCING NEW ROW AS newrow FOR EACH ROW INSERT INTO metadata (internalfilename, externalfilename) VALUES (newrow.internalfilename, newrow.externalfilename)