精品国产亚洲一区二区三区,男女作爱在线观看免费网站,欧美的又大又长做禁片A片,97国产精品人妻无码久久久

  • 相關(guān)軟件
    >LTRIM 創(chuàng)建者:webmaster 更新時(shí)間:2006-02-16 15:51

    刪除起始空格后返回字符表達(dá)式。



    語法


    LTRIM ( character_expression )



    參數(shù)


    character_expression



    是字符或二進(jìn)制數(shù)據(jù)表達(dá)式。character_expression 可以是常量、變量或列。character_expression 必須是可以隱性轉(zhuǎn)換為 varchar 的數(shù)據(jù)類型。否則,使用 CAST 顯式轉(zhuǎn)換 character_expression。



    返回類型


    varchar



    注釋


    兼容級(jí)別可能影響返回值。有關(guān)兼容級(jí)別的更多信息,請(qǐng)參見 sp_dbcmptlevel。



    示例


    下例使用 LTRIM 字符刪除字符變量中的起始空格。



    DECLARE @string_to_trim varchar(60)
    SET @string_to_trim = '   Five spaces are at the beginning of this
      string.'
    SELECT 'Here is the string without the leading spaces: ' +
      LTRIM(@string_to_trim)
    GO


    下面是結(jié)果集:



    ------------------------------------------------------------------------
    Here is the string without the leading spaces: Five spaces are at the beginning of this string.        

    (1 row(s) affected)
    相關(guān)文章
    本頁查看次數(shù):