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

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

    返回 0 到1 之間的隨機float 值。



    語法


    RAND ( [ seed ] )



    參數(shù)


    seed



    是給出種子值或起始值的整型表達(dá)式(tinyintsmallint int)。



    返回類型


    float



    注釋


    在單個查詢中反復(fù)調(diào)用 RAND() 將產(chǎn)生相同的值。



    示例


    下例產(chǎn)生 4 個通過 RAND 函數(shù)產(chǎn)生的不同的隨機值。



    DECLARE @counter smallint
    SET @counter = 1
    WHILE @counter < 5
      BEGIN
        SELECT RAND(@counter) Random_Number
        SET NOCOUNT ON
        SET @counter = @counter + 1
        SET NOCOUNT OFF
      END
    GO


    下面是結(jié)果集:



    Random_Number                                         
    -------------------
    0.71359199321292355

    (1 row(s) affected)

    Random_Number                          
    -------------------
    0.7136106261841817

    (1 row(s) affected)

    Random_Number                          
    -------------------
    0.71362925915543995

    (1 row(s) affected)

    Random_Number                          
    -------------------
    0.7136478921266981

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