![]() ![]() data_type: It is the data type to convert the input expression to.Syntax of the CONVERT function of the SQL server to convert the above timestamp: convert(data_type(length), expr, code) ![]() Some of the codes are given below to give you an overview of the formats provided by them:Īs seen above, to retrieve the current timestamp of the SQL server function which is used is: CURRENT_TIMESTAMP However, all the codes are available on the internet easily.
0 Comments
Leave a Reply. |