Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将从另一个网站导入数据到我的数据库中,在导入到我的数据库之前我将读取的外部数据是 xml。
我将每 15 分钟运行一次脚本来检查 xml 文件。
插入/修改/删除数据的最佳方法是什么?
我知道我可以在从 xml 导入数据之前删除数据库表中的所有数据,但必须有一种更有效的方法来执行此操作。
我很感激帮助。
Why not simply use the Truncate keyword in your statement?
TRUNCATE TableName;INSERT INTO....
regards