Suggestions to make .sql files more efficient
If you make a database that is supposed to override previous databases, it's probally best to use REPLACE instead of INSERT, that way it will actually overwrite the info that is already there (and not give you back so many errors.)
And while I'm at it, it is also desirable to use a multipule insert statement, as it will execute much faster than a lot of inserts. For example: Code:
INSERT INTO items VALUES (1001, 'item1001'), Code:
REPLACE INTO items VALUES (1001, 'item1001'), |
All times are GMT -4. The time now is 01:55 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.