2008 Additional

Wednesday, August 6, 2014

Allow Excute_CmdShell command in sQL Server

Allow Excute_CmdShell command in sQL Server


The user must have ‘sysadmin’ or ‘serveradmin’ server roles access for this.

EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO

Posted by MySql at 3:19 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

MySql
View my complete profile

Blog Archive

  • ▼  2014 (51)
    • ▼  August (51)
      • Parsename to Extract Precision and Scale values‏ F...
      • Script to Find First Day of Current Month
      • Validating If Date is Last Day of the Year, Month ...
      • Convert seconds to hh:mm:ss
      • Get the List of Object Dependencies
      • Stored Procedure Optimization Tips – Best Practices
      • SQL Interview Q & A
      • SQL SERVER – SSMS: Disk Usage Report
      • MySQL – Export the Resultset to CSV file
      • Developer’s Life – Every Developer is a Captain Am...
      • SSMS: Backup and Restore Events Report
      • SSMS: Database Consistency History Report
      • SSMS: Memory Usage By Memory Optimized Objects Report
      • SSIS Parameters in Parent-Child ETL Architectures ...
      • Some scripts
      • SQL SERVER – Guidelines and Coding Standards
      • undocumented functions
      • Misc Articles
      • Transact SQL Code Library
      • T-SQL Coding and Naming Standards
      • Transact SQL Coding Techniques
      • Performance Tuning
      • Diff between patindex and charindex
      • Allow Excute_CmdShell command in sQL Server
      • SQL SERVER – PIVOT and UNPIVOT Table Examples
      • SQL Server 2008 - Auditing - Article 2
      • An Introduction to SQL Server 2008 Audit
      • SQL SERVER – 2008 – Creating Full Text Catalog and...
      • Trigger_nestlevel(), @@Trancount
      • count() , count_big, max, min, Avg and sum function
      • New feature in 2008 CDC (Change Data Capture)
      • Raiserror()
      • TableSample
      • Last_Value and First_Value function with Over() cl...
      • Comparing Change Data Capture and Change Tracking
      • Using Change Tracking in SQL Server 2008
      • Introducing Change Tracking On in SQL Server 2008
      • HierarchyID
      • Checksum for tempdb and SQL Server 2008: The New D...
      • Using Views to Update Data
      • DACPAC and RAID
      • error handling mechanism in SQL 2005
      • GROUP BY and CUBE(), ROLLUP(), GROUPING() and GROU...
      • included columns with sql server indices and filte...
      • table type parameter
      • Output Clause
      • Except, Dense_rank() and rank() and NTILE()
      • Difference Between INTERSECT and INNER JOIN – INTE...
      • Merge
      • Over Clause
      • sparse columns
Simple theme. Powered by Blogger.