Skip to content

NTSEQ:- A IT Infrastructure and Cyber Security Blogs

List all access permission or provisioned to a SQL user or Windows user/group directly

SELECT         [UserType] = CASE princ.[type]                      

Continue reading

SQL Server Roles & Database Level Role in SQL Server?

  What are SQL Roles ?  Predefined collection of objects and permissions? Roles allow the dba to manage permissions more

Continue reading

Create a SQL Login in SQL Server

  USE [master] GO CREATE LOGIN [Pintos] WITH PASSWORD=N’password123′ –password does not meet complexity (use upper ‘P’) MUST_CHANGE, DEFAULT_DATABASE=[master], CHECK_EXPIRATION=ON,

Continue reading

Choosing Authentication Mode for SQL Server

  During the installation of SQL Server, an option for security is asked for, that is, the type of authentication

Continue reading

How to Create a Windows Login in SQL Server

–Creating a Windows Login for SQL Server –Create a SQL Login of Windows user account to access the SQL Server

Continue reading

Grant access to the profile to all msdb database users &send a test email in SQL Server

Grant access to the profile to all msdb database users EXECUTE msdb.dbo.sysmail_add_principalprofile_sp @profile_name = ‘Default Public Profile’, @principal_name = ‘public’,

Continue reading

view information about mail in msdb database using the following scripts:

view information about mail in msdb database using the following scripts:   use msdb go     SELECT * FROM

Continue reading

Create a Database Mail profile & Add the account to the profile

Create a Database Mail profile EXECUTE msdb.dbo.sysmail_add_profile_sp @profile_name = ‘Default Public Profile’, @description = ‘Default public profile for all users’;

Continue reading

Create a Database Mail account in SQL SERVER

Create a Database Mail account through below query EXECUTE msdb.dbo.sysmail_add_account_sp @account_name = ‘SQL’, @description = ‘Account used by all mail

Continue reading

How to Enable Database Mail in SQL SERVER

Enable Database Mail for  instance EXECUTE sp_configure ‘show advanced’, 1; RECONFIGURE; EXECUTE sp_configure ‘Database Mail XPs’,1; RECONFIGURE; GO

Continue reading

Posts pagination

«Previous Posts 1 … 30 31 32 33 34 Next Posts»
  • C Programming
  • C++
  • Cyber Security
  • Interview FAQ
  • Java
  • Linux
  • MySQL
  • Netseq.com
  • Oracle
  • PHP
  • Python
  • SQL
  • SQL Server -DBA
  • What is Cyber Kill Chain
  • Active Directory Security: Strategies to Safeguard Your Organization
  • PowerShell scripts for Active Directory (AD)
  • Top 50 Essential Active Directory PowerShell Commands and Administrative Tools
  • Critical Windows Event ID’s to SOC Team Must Monitor
WordPress Theme: Wellington by ThemeZee.