Create a type in sqlite -
i trying make basket of products , need create type in sqlite like:
create type b_productes object ( id_product integer, quantity integer );
or if can give other solution.thanks
as far know, 1 solution create table of type b_products , use, value main product foreign key, in table 2. hence can link both tables, instead of creating table inside table. think easiest , used method, http://www.w3schools.com/sql/sql_foreignkey.asp hope helps :)
Comments
Post a Comment