zoukankan      html  css  js  c++  java
  • Sysbase: select convert(varchar,getdate(),i)所代表的含义【原创】


    select convert(varchar,getdate(),0):
    Apr  9 2014  4:01PM                                                                                         

    select convert(varchar,getdate(),1):
    04/09/14                                                                                                    

    select convert(varchar,getdate(),2):
    14.04.09                                                                                                    

    select convert(varchar,getdate(),3):
    09/04/14                                                                                                    

    select convert(varchar,getdate(),4):
    09.04.14                                                                                                    

    select convert(varchar,getdate(),5):
    09-04-14                                                                                                    

    select convert(varchar,getdate(),6):
    09 Apr 14                                                                                                   

    select convert(varchar,getdate(),7):
    Apr 09, 14                                                                                                  

    select convert(varchar,getdate(),8):
    16:01:20                                                                                                    

    select convert(varchar,getdate(),9):
    Apr  9 2014  4:01:20:540PM                                                                                  

    select convert(varchar,getdate(),10):
    04-09-14                                                                                                   

    select convert(varchar,getdate(),11):
    14/04/09                                                                                                   

    select convert(varchar,getdate(),12):
    140409                                                                                                     

    select convert(varchar,getdate(),13):
    14/09/04                                                                                                   

    select convert(varchar,getdate(),14):
    04/14/09                                                                                                   

    select convert(varchar,getdate(),15):
    09/14/04                                                                                                   

    select convert(varchar,getdate(),16):
    Apr  9 2014 16:01:20                                                                                       

    select convert(varchar,getdate(),17):
     4:01PM                                                                                                    

    select convert(varchar,getdate(),18):
    16:01                                                                                                      

    select convert(varchar,getdate(),19):
     4:01:20:650PM                                                                                             

    select convert(varchar,getdate(),20):
    16:01:20:656                                                                                               

    select convert(varchar,getdate(),21):
    14/04/09 16:01:20                                                                                          

    select convert(varchar,getdate(),22):
    14/04/09  4:01PM                                                                                           

    select convert(varchar,getdate(),23):
    2014-04-09T16:01:20                                                                                        

    select convert(varchar,getdate(),100):
    Apr  9 2014  4:01PM                                                                                       

    select convert(varchar,getdate(),101):
    04/09/2014                                                                                                

    select convert(varchar,getdate(),102):
    2014.04.09                                                                                                

    select convert(varchar,getdate(),103):
    09/04/2014                                                                                                

    select convert(varchar,getdate(),104):
    09.04.2014                                                                                                

    select convert(varchar,getdate(),105):
    09-04-2014                                                                                                

    select convert(varchar,getdate(),106):
    09 Apr 2014                                                                                               

    select convert(varchar,getdate(),107):
    Apr 09, 2014                                                                                              

    select convert(varchar,getdate(),108):
    16:01:32                                                                                                  

    select convert(varchar,getdate(),109):
    Apr  9 2014  4:01:32:083PM                                                                                

    select convert(varchar,getdate(),110):
    04-09-2014                                                                                                

    select convert(varchar,getdate(),111):
    2014/04/09                                                                                                

    select convert(varchar,getdate(),112):
    20140409                                                                                                  

    select convert(varchar,getdate(),113):
    2014/09/04                                                                                                

    select convert(varchar,getdate(),114):
    04/2014/09                                                                                                

    select convert(varchar,getdate(),115):
    09/2014/04                                                                                                

    select convert(varchar,getdate(),116):
    Apr  9 2014 16:01:32                                                                                      

    select convert(varchar,getdate(),117):
    2014/04/09 16:01:32                                                                                       

    select convert(varchar,getdate(),118):
    2014/04/09  4:01PM                                                                                        

  • 相关阅读:
    主流浏览器内核概览
    图片圆角边框自适应宽高(深夜原创)
    <程序员节>
    谁说Float菜单不可以水平居中
    如何做好一份前端工程师的简历?
    重温textjustify:interideograph
    Firefox 4 beta 1发布——前端开发者须知
    让PHP程序永远在后台运行
    如何让Linux后台运行命令或php
    PHP执行后台程序 argv
  • 原文地址:https://www.cnblogs.com/alexzp/p/3654357.html
Copyright © 2011-2022 走看看