我試圖創建一個數據庫腳本,其中包括以下步驟的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