Overkillz Posted June 5, 2020 Share Posted June 5, 2020 Hello dear community, today I have a simple question. Is there a way to insert a table with dbExec ? I know I can use a loop and insert them one by one, but Im worried about the impact that it could cause. Thanks for reading, best regards. Link to comment
Moderators IIYAMA Posted June 5, 2020 Moderators Share Posted June 5, 2020 1 hour ago, Overkillz said: I know I can use a loop and insert them one by one, but Im worried about the impact that it could cause That is not really an issue, since it doesn't freezes the code. The database will just queue the queries and not execute them in parallel. Creating tables is something you should do once, not every time you start your script. Or are you talking about saving player data when you stop the resource? 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now