insert current timestamp sql server code example Example: sql server current time without date select CAST(GETDATE() as time(0))