Convert the date to a character type, take the first 13 digits, 120 refers to the format at the time of conversion: yyyy-mm-dd hh: mm: ss [.fff]-[. Fff] refers to milliseconds
Thanks, hero, I get it, and ask another question
Regarding the money type, can you directly determine the number of decimal points when building a table, such as two decimal places
Monetary data represents positive or negative monetary values. Use the money and smallmoney data types to store monetary data in SQL Server. The accuracy of monetary data storage is four decimal places.