亚洲av色香蕉一区二区三区,十四以下岁毛片带血a级,亚洲 校园 欧美 国产 另类,亚洲av日韩av一区谷露,色欲av无码一区二区三区

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

    截?cái)嗨形搽S空格后返回一個(gè)字符串。



    語(yǔ)法


    RTRIM ( character_expression )



    參數(shù)


    character_expression



    由字符數(shù)據(jù)組成的表達(dá)式。character_expression 可以是常量、變量,也可以是字符或二進(jìn)制數(shù)據(jù)的列。



    返回類型


    varchar



    注釋


    character_expression 必須為可隱性轉(zhuǎn)換為 varchar 的數(shù)據(jù)類型。否則請(qǐng)使用 CAST 函數(shù)顯式轉(zhuǎn)換 character_expression



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



    示例


    下例顯示如何使用 RTRIM 刪除字符變量中的尾隨空格。



    DECLARE @string_to_trim varchar(60)
    SET @string_to_trim = 'Four spaces are after the period in this sentence.   '
    SELECT 'Here is the string without the leading spaces: ' + CHAR(13) +
      RTRIM(@string_to_trim)
    GO


    下面是結(jié)果集:



    (1 row(s) affected)
    ------------------------------------------------------------------------
    Here is the string without the leading spaces: Four spaces are after the period in this sentence.      
    (1 row(s) affected)
    相關(guān)文章
    本頁(yè)查看次數(shù):