First commit 08/03/2002
This commit is contained in:
25
sql/cr_prod_tbl.sql
Normal file
25
sql/cr_prod_tbl.sql
Normal file
@ -0,0 +1,25 @@
|
||||
# drop the "prod" table if it exists, then recreate it
|
||||
|
||||
DROP TABLE IF EXISTS prod;
|
||||
|
||||
CREATE TABLE prod
|
||||
(
|
||||
# /********************\
|
||||
#|* Datos B<>sicos *|
|
||||
# \********************/
|
||||
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
familia SMALLINT,
|
||||
desc VARCHAR(30),
|
||||
Imagen BLOB,
|
||||
filetype VARCHAR(50)
|
||||
|
||||
# /************************\
|
||||
#|* CLAVES PK, SK *|
|
||||
# \************************/
|
||||
|
||||
PRIMARY KEY (id),
|
||||
);
|
||||
|
||||
# Cargamos otros datos suministrados por defecto...
|
||||
# LOAD DATA LOCAL INFILE "pelis.txt" INTO TABLE personas;
|
||||
|
Reference in New Issue
Block a user