General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
I mean something like this:
CREATE PROCEDURE Check AS
declare @RetCode int
select @RetCode=1
While @RetCode=1
Exec @RetCode = ExistFile 'NomeFile'
-Michele
>I'm curious. Would you mind providing more information about what you're doing? Specifically, when the stored procedure "loops."
>
>-Mike
>
>>I need to test if a particular file exist on my disk in a stored procedure.
>>This S.P. must loop when the file exists and continue when this file is missing.
>>
>>Can anyone help me ?
>>
>>Thanks
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only