Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Loading XML Data into SQL Server (SQL Spackle)

    gregg_dn (1/3/2011)


    I'm getting an the following error when I try to run the OPENROWSET function:

    DECLARE @CD TABLE (XMLData XML);

    INSERT INTO @CD

    SELECT *

    FROM OPENROWSET(BULK N'C:\SQL\cd_catalog.xml', SINGLE_BlOB)

    Msg 491, Level 16, State 1,...

  • RE: Finding Unique Non-Repeating Random Numbers

    You will get much higher degree of uniqueness if you look at the least significant digits of your RAND() instead of the most significant.

    In your Tally solution, simply changing LEFT()...

Viewing 2 posts - 1 through 2 (of 2 total)