Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何转换默认情况下在 Sybase 中存储这样的值的日期时间数据列
Sep 15 1999 12:23:56:230AM
到这种格式:
MM/DD/YY HH:MI:SS,FF9
我没有看到转换功能的任何选项
自己做:
declare @test datetime select @test = getdate() select convert(varchar, @test, 1) + ' ' + convert(varchar, @test, 108) + ',FF9'