on 04-24-2013 2:28 PM
Buen dia, estaba aplicando una autorizacion por descuento por lineas (http://scn.sap.com/thread/1009159) pero tengo me da el siguiente error, "1). [Microsoft][SQL Native Client][SQL Server] Error converting data type nvarchar to datetime." Tengo un server de pruebas que aparentemente es similar al real y en el server de prueba si funciona. Me gustaria que me ayudaran con mi caso, muchas gracias anticipadas. Saludos.
Quizás es por el formato de la fecha
A veces el formato en el SQL es distinto, en lugar de tenerlo DDMMYYYY, quizás lo tienes MMDDYYYY
Utiliza la funcion
set dateformat
Saludos!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No me funciono, aparentemente tengo que probar cambiando el SQL Server, la diferencia entre los dos servers que tengo es que uno esta en ingles y otro en español. Probe cambiandole el default language, cambiandole el idioma al usuario de SQL, con el dateformat y ninguno me funciono, probare con instalar el SQL Server en español y notifico si funciono. Saludos.
Gracias, esta estaba correcta. Yo no lo estaba utilizando bien.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.