Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture xp_CmdShell result
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Capture xp_CmdShell result
Divers
Thread ID:
01123552
Message ID:
01123552
Vues:
52
what would be the correct syntax for this?
I'm trying to capture the result into a table...
insert into logfl  
(
EXEC @result = xp_cmdshell 'clsx'
IF (@result = 0)
   PRINT 'Success'
ELSE
   PRINT 'Failure'
) xx
Répondre
Fil
Voir

Click here to load this message in the networking platform