Ver Mensaje Individual
  #4 (permalink)  
Antiguo 01/08/2011, 10:00
Avatar de Libras
Libras
Colaborador
 
Fecha de Ingreso: agosto-2006
Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 17 años, 8 meses
Puntos: 774
Respuesta: Concatenar a nombre la fecha del dia

Select GetDate()

Declare @fecha datetime
set @fecha=''
selecT @fecha=GETDATE()

bulk insert tcsv
from 'C:\daily\papercut-print-log-'+ convert(varchar(20),@fecha) + '.csv'
with
(
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
)
GO
}


Prueba con esto :)

Saludos!
__________________
What does an execution plan say to t-sql query? Go f**k yourself, if you are not happy with me