PHP和Exists SQLITE [关闭]

To insert data, update data and delete table is it necessary to copy the existing sqlite database into :memory: in PHP?

Table definition:

CREATE TABLE [appointment] (
    _appId integer NOT NULL PRIMARY KEY AUTOINCREMENT
   ,_id integer NOT NULL
   ,svc_id integer NOT NULL
   ,cust_id integer NOT NULL
   ,person_nm text NOT NULL
   ,cust_cno integer NOT NULL
   ,full_add text NOT NULL
   ,book_dt date NOT NULL
   ,app_dt date NOT NULL
   ,app_time time NOT NULL
   ,service text NOT NULL
   ,status text NOT NULL
   ,nxt_dt date
   ,nxt_time time
   ,att_dt date
   ,att_time time
   ,remark text
); 

and Update statement is:

UPDATE appointment 
SET svc_id='$sid',app_dt='$dt',app_time='$tim',full_add='$add',cust_cno='$cno' 
WHERE _appId='$i';

No. You can access and change SQLite database stored in a file directly.