Quantcast
Channel: Answers for "Dates and Collation Issue?"
Browsing index pages (6 articles)
↧

Answer by Phil Factor

Whatever your date settings in SQL Server, you can get any known format of date if it is consistent. If you are processing a data feed it is best to make it explicit, rather than to rely on the date...

View Article


Answer by Fatherjack

you might investigate using a trigger to check the inserted value but that may cause more issues. Can you import it to a staging table somewhere and do a sanity check on the data? Or replace the script...

View Article


Answer by Magnus Ahlkvist

Have a look at [SET DATEFORMAT][1] Or use a string format which always works for dates in SQL Server - eg **YYYYMMDD hh:mm:ss.nnn** [1]: http://msdn.microsoft.com/en-us/library/ms189491.aspx

View Article

Answer by Phil Factor

Whatever your date settings in SQL Server, you can get any known format of date if it is consistent. If you are processing a data feed it is best to make it explicit, rather than to rely on the date...

View Article

Answer by Fatherjack

you might investigate using a trigger to check the inserted value but that may cause more issues. Can you import it to a staging table somewhere and do a sanity check on the data? Or replace the script...

View Article


Answer by Magnus Ahlkvist

Have a look at [SET DATEFORMAT][1] Or use a string format which always works for dates in SQL Server - eg **YYYYMMDD hh:mm:ss.nnn** [1]: http://msdn.microsoft.com/en-us/library/ms189491.aspx

View Article
Browsing index pages (6 articles)


Latest Images