jueves, 5 de diciembre de 2019

sql server - bulk copy

bcp Spring2016.dbo.PR_PlanillaEmpleadoConcepto out C:\Users\jchaccha\Documents\PR_PlanillaEmpleadoConcepto.txt -c -S PESEREVER18\SQL2016 -U royal -P clave2015

bcp Spring2016.dbo.PR_PlanillaEmpleadoConcepto format nul -c -U royal -P clave2015 -S PESEREVER18\SQL2016 -f C:\Users\jchaccha\Documents\PR_PlanillaEmpleadoConcepto.fmt

BULK INSERT PR_PlanillaEmpleadoConcepto
FROM 'F:\BK\PR_PlanillaEmpleadoConcepto.txt'
WITH (
FORMATFILE = 'F:\BK\PR_PlanillaEmpleadoConcepto.fmt',
ERRORFILE ='F:\BK\PR_PlanillaEmpleadoConcepto.error',
keepnulls,
maxerrors = 500
);
GO


No hay comentarios:

Publicar un comentario