Hi @Nachiappan Muthukaruppan ,
May I ask why you sre not using the simplified patching (one-click-installer) instead?
If you get an error when executing the SQL scripts, do not continue. Try re-running the script several times until it completes without errors.
If your scripts are being blocked, you might have to shut down the services (sdk, config, and healthservice) on your management servers, to break their connection to the databases, to get a successful run, but this should be very rare in SCOM 2016 and later.
If nothing of the above helps, I would create a support request to Microsoft.
----------
(If the reply was helpful please don't forget to upvote or accept as answer, thank you)
Best regards,
Leon