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

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

    返回字符表達(dá)式最左端字符的 ASCII 代碼值。



    語法


    ASCII ( character_expression )



    參數(shù)


    character_expression



    是類型為 charvarchar的表達(dá)式。



    返回類型


    int



    示例


    下例假定在 ASCII 字符集環(huán)境下運行,它將返回字符串"Du Monde entier"中每一個字符的 ASCII 值和 char 字符。



    SET TEXTSIZE 0
    SET NOCOUNT ON
    -- Create the variables for the current character string position
    -- and for the character string.
    DECLARE @position int, @string char(15)
    -- Initialize the variables.
    SET @position = 1
    SET @string = 'Du monde entier'
    WHILE @position <= DATALENGTH(@string)
      BEGIN
      SELECT ASCII(SUBSTRING(@string, @position, 1)),
        CHAR(ASCII(SUBSTRING(@string, @position, 1)))
      SET @position = @position + 1
      END
    SET NOCOUNT OFF
    GO


    下面是結(jié)果集:



    ----------- - 
    68       D
           
    ----------- -
    117       u
           
    ----------- -
    32        
           
    ----------- -
    109       m
           
    ----------- -
    111       o
           
    ----------- -
    110       n
           
    ----------- -
    100       d
           
    ----------- -
    101       e
           
    ----------- -
    32        
           
    ----------- -
    101       e
           
    ----------- -
    110       n
           
    ----------- -
    116       t
           
    ----------- -
    105       i
           
    ----------- -
    101       e
           
    ----------- -
    114       r
    相關(guān)文章
    本頁查看次數(shù):