Jump to content

dbExec Question


Recommended Posts

Posted

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.

  • Moderators
Posted
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?

 

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...