Re: [討論] SQL的指令優缺點
SQL指令的優點,在使用者可以不用了解演算法的情況之下對資料存取
例如:你只要知道 order by 欄位,你根本可以不用知道資料庫系統是用什麼演算法排序
優點:好寫
缺點:太好寫,變成應用程式開發人員都想直接控制資料庫,然後就是直接下簡單的SQL
指令或是拚出SQL指令
select * from table 指令直接用
另外,資料庫端的SP,是在比誰寫的短,不是比誰寫的長,而且只要做資料處理
假設句,迴圈這些在資料庫程式中只是輔助不是本體
--
昔日所為 今日所受
今日所為 明日所受
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 60.251.179.210
※ 文章網址: https://www.ptt.cc/bbs/Soft_Job/M.1476742675.A.CE0.html
推
10/18 06:48, , 1F
10/18 06:48, 1F
→
10/18 09:37, , 2F
10/18 09:37, 2F
→
10/18 09:38, , 3F
10/18 09:38, 3F
推
10/18 09:45, , 4F
10/18 09:45, 4F
→
10/18 09:51, , 5F
10/18 09:51, 5F
→
10/18 10:00, , 6F
10/18 10:00, 6F
→
10/18 10:00, , 7F
10/18 10:00, 7F
→
10/18 10:01, , 8F
10/18 10:01, 8F
→
10/18 10:41, , 9F
10/18 10:41, 9F
→
10/18 11:06, , 10F
10/18 11:06, 10F
→
10/18 11:07, , 11F
10/18 11:07, 11F
→
10/18 11:16, , 12F
10/18 11:16, 12F
→
10/18 11:16, , 13F
10/18 11:16, 13F
→
10/18 11:18, , 14F
10/18 11:18, 14F
→
10/18 11:18, , 15F
10/18 11:18, 15F
→
10/18 11:23, , 16F
10/18 11:23, 16F
→
10/18 11:24, , 17F
10/18 11:24, 17F
→
10/18 11:26, , 18F
10/18 11:26, 18F
推
10/18 12:16, , 19F
10/18 12:16, 19F
→
10/18 12:17, , 20F
10/18 12:17, 20F
→
10/18 12:58, , 21F
10/18 12:58, 21F
→
10/18 12:59, , 22F
10/18 12:59, 22F
→
10/18 13:00, , 23F
10/18 13:00, 23F
→
10/18 13:00, , 24F
10/18 13:00, 24F
→
10/18 13:24, , 25F
10/18 13:24, 25F
推
10/18 13:28, , 26F
10/18 13:28, 26F
→
10/18 14:02, , 27F
10/18 14:02, 27F
→
10/18 14:02, , 28F
10/18 14:02, 28F
→
10/18 14:05, , 29F
10/18 14:05, 29F
→
10/18 14:09, , 30F
10/18 14:09, 30F
→
10/18 14:52, , 31F
10/18 14:52, 31F
→
10/18 14:57, , 32F
10/18 14:57, 32F
→
10/18 15:10, , 33F
10/18 15:10, 33F
討論串 (同標題文章)