Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/12/2014, 10:24
Avatar de catpaw
catpaw
 
Fecha de Ingreso: mayo-2010
Ubicación: xalapa
Mensajes: 856
Antigüedad: 13 años, 11 meses
Puntos: 23
CONVERT SMALLDATETIME me quita los segundos

hola, una duda con el CONVERT

tengo un campo datetime y guarda el formato: 2013-05-09 17:53:14.000

y cuando hago el CONVERT(SMALLDATETIME, fecha) y obtengo 2013-05-09 17:53:00

Pero se me pierden 14 segundos

2013-05-09 17:53:14.000
2013-05-09 17:53:00

Por favor ayuda