SQL Server query to find all permissions/access for all users in a database

This is my first crack at a query, based on Andomar’s suggestions. This query is intended to provide a list of permissions that a user has either applied directly to the user account, or through roles that the user has. /* Security Audit Report 1) List all access provisioned to a sql user or windows … Read more

How to drop all tables in a SQL Server database?

You can also delete all tables from database using only MSSMS UI tools (without using SQL script). Sometimes this way can be more comfortable (especially if it is performed occasionally) I do this step by step as follows: Select ‘Tables’ on the database tree (Object Explorer) Press F7 to open Object Explorer Details view In … Read more

SQL Server Configuration Manager cannot be found

If you happen to be using Windows 8 and up, here’s how to get to it: The newer Microsoft SQL Server Configuration Manager is a snap-in for the Microsoft Management Console program. It is not a stand-alone program as used in the previous versions of Microsoft Windows operating systems. SQL Server Configuration Manager doesn’t appear … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)