Category: SQL Server

How to Check if a login exists in SQL Server ?

If you need to check if a login exists in SQL Server , you can use query the master.dbo.syslogins for it. How to Check if a login exists in SQL Server ? Here’s a sample query demonstrating how you can query master.dbo.syslogins to find out if the login exists in SQL Server. This would retreive all the details of the loginid ‘sa’.

SQL Server Error Code – 7862 an endpoint of the requested type alread

In this blog post, you’ll learn more about the SQL Server Error Code 7862 and the error message description that is shown SQL Server Error Code 7862 SQL Server Error Description for the Code :7862 An endpoint of the requested type already exists.  Only one endpoint of this type is supported.  Use ALTER ENDPOINT or DROP the existing endpoint and execute the CREATE ENDPOINT statement.