Ok, you definitely don't want to try that with SQL, it will break.
If you want to force password changes, you could script something that hits the "reset my password" link for the account, but setting one automatically is probably best done with an add-on such as Script Runner.
Can we use sql command to delete or disable account ?
Probably I can use the plugin https://marketplace.atlassian.com/plugins/com.artemistech.confluence.plugins.bulkuserupload/server/support and use delete account together to do the same result.
(Additional information: I don't know how to use script runner, so I use alternative way to make the same result)
No, I already said you don't want to do this with SQL (You can, but you will need to stop the service first, and understand the database in detail)
I would strongly recommend an add-on for doing this, as it will go through the API and do it properly.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs