Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 XP_CMDSHELL With Stored Procedure

Author  Topic 

pdset
Constraint Violating Yak Guru

310 Posts

Posted - 2012-07-26 : 23:57:43
I am using the Stored Procedure which needs to delete the file in another server which is link Server.

I am using the XP_CMDSHELL to delete that file which is successful but for another reason it is not doing if the file is beyond 1 KB.

May I know what is the maximum limitation for the file which could be deleted using the command.

Many Thanks

lionofdezert
Aged Yak Warrior

885 Posts

Posted - 2012-07-27 : 07:06:04
There is no such limit of 1 KB for xp_cmdshell.

--------------------------
http://connectsql.blogspot.com/
Go to Top of Page
   

- Advertisement -