Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verify existence of file on disk
Message
 
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00691815
Message ID:
00691869
Views:
12
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
Map
View

Click here to load this message in the networking platform