Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/08/2011, 09:40
pxko_xt
 
Fecha de Ingreso: julio-2011
Mensajes: 19
Antigüedad: 12 años, 9 meses
Puntos: 1
Respuesta: Concatenar a nombre la fecha del dia

Mira ya tengo stopero no se como cantenarlo me marka errores me podrias echar la mano...

Select GetDate()

Declare @fecha datetime
set @fecha=''
SElecT @fecha=(SELECT GETDATE())
select @fecha



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