Hi to all of you,
I have this problem....
I use a bat file wich calls some .jar files to take data from an sql database to another one. Somewhere inside, there a select query wich results with a syntax error that it cannot convert to datetime. Both the databases are in the same sql server and with the same collation (the one database is a new and empty one). There is a field wich has same dates in the format that we use here in Greece. It is like; dd/mm/yyyy hh:mm pm or am. This field is nvarchar (50) and as obvious it is not the format that the query I run, wants. !
Any ideas ?
Thank all of you in advance
Timos
I have this problem....
I use a bat file wich calls some .jar files to take data from an sql database to another one. Somewhere inside, there a select query wich results with a syntax error that it cannot convert to datetime. Both the databases are in the same sql server and with the same collation (the one database is a new and empty one). There is a field wich has same dates in the format that we use here in Greece. It is like; dd/mm/yyyy hh:mm pm or am. This field is nvarchar (50) and as obvious it is not the format that the query I run, wants. !
Any ideas ?
Thank all of you in advance
Timos