

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


DROP TABLE IF EXISTS art102; CREATE TABLE art102 ( art char(5) collate latin1_general_ci default NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Dumping data for table art -- LOCK TABLES art102 WRITE; INSERT INTO art102 VALUES ('01222'); UNLOCK TABLES; -- -- Table structure for table artikli -- DROP TABLE IF EXISTS artikli; CREATE TABLE artikli ( idx bigint(20) NOT NULL auto_increment, br char(10) collate latin1_general_ci NOT NULL default '', naziv char(30) collate latin1_general_ci NOT NULL default '', cena double NOT NULL,
old int(11) default NULL, mat char(5) collate latin1_general_ci default NULL, PRIMARY KEY (idx), KEY br (br) ) ENGINE=MyISAM AUTO_INCREMENT=311 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; -- -- Dumping data for table artikli
DROP TABLE IF EXISTS tmpstavke; CREATE TABLE tmpstavke ( idx int(11) NOT NULL auto_increment, nalog varchar(5) collate latin1_general_ci NOT NULL default '0', datum date NOT NULL, art varchar(10) collate latin1_general_ci NOT NULL default '0', bar varchar(15) collate latin1_general_ci NOT NULL default '0', boja varchar(15) collate latin1_general_ci NOT NULL default '0', vel varchar(5) collate latin1_general_ci NOT NULL default '0', kom int(11) NOT NULL, col int(11) NOT NULL, red int(11) NOT NULL, PRIMARY KEY (idx)