How can I execute system command like dir other than xp_cmdshell?
Execute commands within tsql
592 Views Asked by seeker At
1
There are 1 best solutions below
Related Questions in SQL-SERVER-2008
- Why does the following script throw database still in use when selecting the master database first?
- Return Duplicate Rows
- SQL Data entry - finding sequence to enter info
- Why is this query in SSMS showing columns/tables as numbers?
- Query from multiple tables based on the table name?
- How to Let Python Connect to a SQL Server Database
- Need to fetch Minimum value for Each Id and make the BidSuccess column to 1
- Spring Boot Scheduled Annotation Job Issue
- Use different WHERE clause based on condition?
- Error when inserting special characters such as Ñ and accents á, é, í, ó, ú. using BULK OPENROWSET from python
- Delete all records except the max value of a group
- How to use SQL Server stored procedures in React js express server
- Loop through date in SQL Server and exclude the dates within a range of one week
- Find amount greater than the average amount
- Update trigger - both INSERTED and DELETE hold same value after update
Related Questions in XP-CMDSHELL
- Message through xp_cmdshell in SQL Server 2014
- How to export resultset of a procedure with parameters using T-SQL command in SQL Azure database
- When executing Python via xp_cmdshell, print does not return to the SQL Output
- Fail to pull Azure DevOps repository called by T-SQL
- TSQL query to delete all files in a directory using xp
- T-SQL exec master..xp_cmdshell sqlcmd command unable to include variable output path
- Using LIKE wildcard with % operator in SQL xp_cmdshell
- email a file from AWS S3 bucket to a user using sql
- 'Can't open file 'path': [Errno 2] No such file or directory' Error in SQL while using xp_cmdshell command
- Unavailable Shared Path using net use via xp_cmdshell
- Can't activate xp_cmdshell for one session only
- Mixed results running manage-bde from sql xp_cmdshell
- Running Python Scripts on Azure SQL Databases using Elastic Job Agent
- SQL Server - xp_cmdshell timeout
- Running xp_cmdshell in SQL Server to run python script. Xlwings portion throws 'Access is denied' error
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I dont see any problem , here is an example :
dstest is a remote server ...
edit
run this to activate :