> Tech > Listing 4 : Usp_SecureBCPCommand

Listing 4 : Usp_SecureBCPCommand

Tech - Par Renaud ROSSET - Publié le 24 juin 2010

CREATE PROCEDURE usp_SecureBCPCommand
(@FileName varchar(255))
AS
DECLARE @BCPCommand varchar(255)
SET @BCPCommand = 'BCP db1..TableName out E:\Export\' + @FileName +
' /T /c'
EXECUTE master..xp_cmdshell @BCPCommand
GO
EXEC usp_SecureBCPCommand ‘Table1.txt'

Téléchargez cette ressource

Microsoft 365 Tenant Resilience

Microsoft 365 Tenant Resilience

Face aux failles de résilience des tenants M365 (configurations, privilèges, sauvegarde). Découvrez 5 piliers pour durcir, segmenter et surveiller vos environnements afin de limiter l’impact des attaques. Prioriser vos chantiers cyber et améliorer la résilience de vos tenants Microsoft 365.

Les plus consultés sur iTPro.fr

A lire aussi sur le site

À la une de la chaîne Tech