I can’t remember how to do this in a TSQL query. It was a one-liner suitable for testing before starting DML. The query was similar to SELECT IS_DBO () or SELECT IS (DBO).
You are probably looking for a function IS_MEMBER:
IS_MEMBER
SELECT IS_MEMBER('db_owner')
Source: https://habr.com/ru/post/1706857/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1706852/how-do-i-apply-targets-to-a-sublist-of-projects-in-ant&usg=ALkJrhjBk36hqe3GoeesgwrjZ4Tk_wYT_gWriting a zip file does not work in IE7 - c #Binding ObjectDataProvider to a property instead of a method - wpfHow to write a simple .txt content processor in XNA? - xnaWhat should this Excel formula do? - excel-formulaЧто/где - необходимые библиотеки для JSF (в частности, материал javax.faces) - javaHow do you pass binary data using Python? - pythonVS 2008 designer is not installed for xaml - visual-studio-2008Firefox stuck on “pending” or “transferring data from” - htmlConfirm MSSQL identifier (parameter) in .NET or regular expression - regexAll Articles