我试图创建一个数据库脚本,其中包括以下步骤的SQL代码,并
使用MySQL工作台来创建和填充一个新表
称为执行每一步食谱 in fooddb。创建数据库表(MySQL的)
这配方表应该列以下对象变量:ID(使用自动
增量),标题,说明(只是一个字符串),numServings和TOTALTIME(在 分钟)。
编辑3 - 2014年11月4日 - 15:32 ......我可能已经但是想通了,通过我也不太清楚,:
create table recipe (
RecipeID int not null auto_increment,
'RecipeName' varchar(300),
'RecipeType' varchar(100),
"Instructions" text,
NumOfServings int not null,
TotalTimeInMinutes int not null,
primary key(RecipeID));
insert into recipe values (0, 'RecipeName', 'RecipeType', "Instructions", 0, 0);
select * from recipe;
有什么,可能是错的有了这个???
如果你需要它在S/W的发展环境下,你可以考虑液体基质代替脚本。 – Dmytro 2014-11-04 10:53:55