Jump to content
  • 0

Setting LastUpdated to a future date


BetterDeadThanZed

Question

I'm om the process of overhauling one of my servers and it'll be offline for a few days. I don't want my player's bases and vehicles to be cleaned up during the down time,  so I need an SQL query that will set the LastUpdated to a future time for all objects in the object_data section. What is the SQL query I would use?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

You can try this:

UPDATE epoch.object_data SET LastUpdated = 2018-03-25 16:24:02

 

Thanks for the reply, but I get this with that query:

 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...