Forum Replies Created

Viewing 15 posts - 31 through 45 (of 99 total)

  • RE: Stretch Database Datatype Limitations

    paul s-306273 (6/29/2016)


    Confidently expected to get this right...like lots of others!

    same

  • RE: JSON Paths

    Igor Micev (6/23/2016)


    The answer is $.address, not $,address.

    also agreed. I don't know anything about JSON but was able to get enough out of documentation to see what the right...

  • RE: Beginning a CTE

    The answer should be No. Open a new window and paste in the following and it works just fine:

    with myCTE(n)

    as

    (select 1

    )

    select * from myCTE

    No semicolons anywhere in the window....

  • RE: Inserting XML

    I don't know anything about XML but the following works just fine as well:

    CREATE TABLE #Mytest2 (id INT, x XML)

    INSERT #mytest2

    VALUES

    (11, CAST('<customer...

  • RE: Inserting XML

    I tried the modified code and it still works for me on SQL Server 2012

  • RE: Inserting XML

    Alan.B (5/31/2016)


    I don't know why you get an error. This code

    CREATE TABLE Mytest (id INT, x XML)

    INSERT mytest

    VALUES

    (1, CAST('1200' AS XML))

    ...

  • RE: More Unicode

    tripleAxe (5/6/2016)


    upper case / lower case confusion?

    SELECT UNICODE(N'a'); ---returns 97

    SELECT UNICODE(N'A'); --returns 65

    Yep, I want my point please.

  • RE: A Token Escape

    TomThomson (4/28/2016)


    BWFC (4/28/2016)


    That was surprisingly easy for one of Andy's questions. There weren't any tricks or things that we should have inferred from the position of a comma :cool:....

  • RE: COALESCE

    Luis Cazares (1/29/2016)


    tom.w.brannon (1/29/2016)


    I knew that coalesce would return the highest data type but never remember the ordering of that so I thought it was either going to be 10...

  • RE: COALESCE

    I knew that coalesce would return the highest data type but never remember the ordering of that so I thought it was either going to be 10 or divide by...

  • RE: Security Convenience

    One reason I miss a lot of these kinds of questions is that I don't do a lot of DBA oriented work such as backups and logins and server set...

  • RE: Included Indexes

    patrickmcginnis59 10839 (12/16/2015)


    tom.w.brannon (12/16/2015)


    I don't understand why non-clustered is required. While not a best practice, why couldn't you include the non-key columns in the definition of the clustered index?

    I'm...

  • RE: Included Indexes

    I don't understand why non-clustered is required. While not a best practice, why couldn't you include the non-key columns in the definition of the clustered index?

  • RE: Filestream Tables

    Toreador (12/11/2015)


    Well I guessed right, but the correct answer is surely that ID is not a valid data type for myID.

    I also guessed (wrong) when the answer I was looking...

  • RE: Moving the Resource Database

    I don't deal with this level of the db but it seems like a trick question. At https://msdn.microsoft.com/en-us/library/ms190940.aspx it states 'These files are located in <drive>:\Program Files\Microsoft...

Viewing 15 posts - 31 through 45 (of 99 total)