全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1084
推到 Plurk!
推到 Facebook!

Different between Append and Insert?

尚未結案
Vashee
初階會員


發表:38
回覆:87
積分:25
註冊:2003-03-31

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-04-09 03:49:21 IP:217.34.xxx.xxx 未訂閱
Example:    ADOTable.Append    and    ADOTable.Insert    Can anyone tell me the difference between them? Thanx
hagar
版主


發表:143
回覆:4056
積分:4445
註冊:2002-04-14

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-04-09 08:24:58 IP:202.39.xxx.xxx 未訂閱
Append: 在 Table 的最後一筆資料之後新增一筆資料 Insert: 在 Cursor 所在處 "插入" 一筆資料 --- 每個人都是一本書
Justmade
版主


發表:94
回覆:1934
積分:2030
註冊:2003-03-12

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-04-09 09:17:29 IP:218.16.xxx.xxx 未訂閱
For those tables with Primary Key, the different is ONLY when inserting. As hagar had pointed out, they add record in different location. However, when the record is posted, it position is based on the Primary key / index so whether it is appended or inserted does not matter.
系統時間:2024-07-01 20:12:52
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!