How to check the update query was successful

I am updated a row in a database using Update Query.
How to check whether the row was successfully updated or not.

The Affected Records can Be Checked as > 0

Thanks for the reply @Priyanka_Ramesh. But how can i check the affected records.In uipath the message wont come right

the output message will be there which contains successful message.