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

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -