Forum Replies Created

Viewing 15 posts - 6,316 through 6,330 (of 8,761 total)

  • RE: CHOOSE() a RAND() vowel not working???

    Jeff Moden (1/9/2015)


    Eirikur Eiriksson (1/9/2015)


    My thought is that some of the random function implementations in SQL Server are more caused by the limitations of this particular function ( RAND() )...

  • RE: CHOOSE() a RAND() vowel not working???

    My thought is that some of the random function implementations in SQL Server are more caused by the limitations of this particular function ( RAND() ) rather than anything else....

  • RE: CHOOSE() a RAND() vowel not working???

    Quick thought, an alternative way of getting an execution plan for this kind of simple statements is to use a CTE, has less inpact/noise in the plan as it's normally...

  • RE: Are the posted questions getting worse?

    Luis Cazares (1/8/2015)


    spaghettidba (1/8/2015)


    Steve Jones - SSC Editor (1/8/2015)


    It's probably not that site posting SPAM, but someone with an affiliate code, or perhaps just a vandal.

    Maybe. Meanwhile, no response from...

  • RE: Are the posted questions getting worse?

    spaghettidba (1/8/2015)


    Are the spammers getting worse?

    Fight fire with fire: let's spam their contact form!

    Now all you have to do is to create a SQL Job that posts random text to...

  • RE: Connections string issue between 2005 and 2012

    Meatloaf (1/7/2015)


    Thank you! Here is my code:

    Dim objConn, objRS, strQuery,strConnection

    set objConn = Server.CreateObject("ADODB.Connection")

    set objRS = Server.CreateObject("ADODB.RecordSet")

    strConnection = "User ID=xx;Password=xxxxxxxxxx;"

    strConnection = strConnection & "Driver={SQL Server};Server=DB_Server_NAME;Database=MY_DB;"...

  • RE: Connections string issue between 2005 and 2012

    Meatloaf (1/7/2015)


    Hello I am trying to connect to a database from a server with SQL Server 2012 to SQL Server 2005 for some reason I cannot get it to work...

  • RE: how to rewrite query to avoid duplicate records (across columns)

    ScottPletcher (1/6/2015)


    Eirikur Eiriksson (1/6/2015)


    ScottPletcher (1/6/2015)


    Jeff Moden (1/4/2015)


    asita (1/3/2015)


    Nolock is ignore the locks (please ignore it)

    Trust me Dhani, we know what it does and folks in-the-know can't just ignore it. ...

  • RE: CHOOSE() a RAND() vowel not working???

    Jeff Moden (1/6/2015)


    Forget about CHOOSE here. Forget about WHILE loops here. The following will generate as many random vowels (up to about 16 million) as you need in...

  • RE: how to rewrite query to avoid duplicate records (across columns)

    ScottPletcher (1/6/2015)


    Jeff Moden (1/4/2015)


    asita (1/3/2015)


    Nolock is ignore the locks (please ignore it)

    Trust me Dhani, we know what it does and folks in-the-know can't just ignore it. It's normally a...

  • RE: CHOOSE() a RAND() vowel not working???

    jwiseh (1/5/2015)


    On my SQL Server 2012 SP2 installation, The following expression always returns an integer between 1 and 6:

    [font="Courier New"]SELECT CEILING(RAND()*6)[/font]

    ...but this function only works half the time, returning...

  • RE: Reading XML file and store it in SQL Server Db

    gmsharma11 (1/5/2015)


    Hi Guys,

    Please help me out!! AsAp...

    I have a unstructured XML files …. Means … each file can have different no of NODES…

    So please let me know how I can...

  • RE: Concatenating Binary Rows

    Lynn Pettis (1/5/2015)


    Missed you using a style code. I guess I should clean this Afghan dust off my screen.

    Foggy glasses are more the problem on this end:smooooth:

    For completeness, the...

  • RE: Split Columns of Months into Columns of Weeks

    The initial solution does convert column names to dates, something that's not applicable in the later data sample, no problem really, will post the code when I have the time....

  • RE: Concatenating Binary Rows

    Lynn Pettis (1/5/2015)


    Also, if you listen to Mr. Celko...

    Always do listen to JC, don't always agree though.;-)

    😎

Viewing 15 posts - 6,316 through 6,330 (of 8,761 total)