Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
功能:
SQL查询时判断某库是否有权限时,增加*支持。
备注: *这个值的来源是DBA从数据库直接插入的,以方便给某些特殊情况下 直接加权限。
当然了,DBA也可以拿到很多实例的所有库名插入数据,这样很麻烦。
或可以直接加资源组管理员权限。
那为什么不在权限页面申请呢,因为需要一个个实例申请太多了,很累。
累也得一个个申请,请最小授权,按需申请。老板说:特殊情况,麻烦DBA协助一下。