
weblogs.sqlteam.com/brettk/2005/06/28/6895
Preview meta tags from the weblogs.sqlteam.com website.
Linked Hostnames
2Search Engine Appearance
How do I use the DOS Command dir in T-SQL
Well, the short answer is you don't. The modified answer is that you can use the code listed in this post. The longer answer is that you can use xp_cmdshell to do this (Which is what the stored procedure in this post does), and must be either a member of the sysadmin account, or granted execution, say to a new role, and users can be placed in that role.
Bing
How do I use the DOS Command dir in T-SQL
Well, the short answer is you don't. The modified answer is that you can use the code listed in this post. The longer answer is that you can use xp_cmdshell to do this (Which is what the stored procedure in this post does), and must be either a member of the sysadmin account, or granted execution, say to a new role, and users can be placed in that role.
DuckDuckGo
How do I use the DOS Command dir in T-SQL
Well, the short answer is you don't. The modified answer is that you can use the code listed in this post. The longer answer is that you can use xp_cmdshell to do this (Which is what the stored procedure in this post does), and must be either a member of the sysadmin account, or granted execution, say to a new role, and users can be placed in that role.
General Meta Tags
6- titleHow do I use the DOS Command dir in T-SQL | Brett Kaiser (x002548) Blog
- charsetutf-8
- viewportwidth=device-width, initial-scale=1, shrink-to-fit=no
- article:published_time2005-06-28T10:33:00-05:00
- article:modified_time2005-10-12T09:07:00-05:00
Open Graph Meta Tags
4- og:titleHow do I use the DOS Command dir in T-SQL
- og:descriptionWell, the short answer is you don't. The modified answer is that you can use the code listed in this post. The longer answer is that you can use xp_cmdshell to do this (Which is what the stored procedure in this post does), and must be either a member of the sysadmin account, or granted execution, say to a new role, and users can be placed in that role.
- og:typearticle
- og:urlhttps://weblogs.sqlteam.com/brettk/2005/06/28/6895/
Twitter Meta Tags
3- twitter:cardsummary
- twitter:titleHow do I use the DOS Command dir in T-SQL
- twitter:descriptionWell, the short answer is you don't. The modified answer is that you can use the code listed in this post. The longer answer is that you can use xp_cmdshell to do this (Which is what the stored procedure in this post does), and must be either a member of the sysadmin account, or granted execution, say to a new role, and users can be placed in that role.
Link Tags
2- canonicalhttps://weblogs.sqlteam.com/brettk/2005/06/28/6895/
- stylesheethttps://weblogs.sqlteam.com/brettk/css/style.css
Links
6- http://weblogs.sqlteam.com/brettk/archive/2005/08/11/7516.aspx
- http://weblogs.sqlteam.com/robv/articles/4107.aspx
- https://weblogs.sqlteam.com/brettk
- https://weblogs.sqlteam.com/brettk/2005/06/28/6895
- https://weblogs.sqlteam.com/brettk/tags/sql-server