Forum Replies Created

Viewing 15 posts - 76 through 90 (of 656 total)

  • RE: The dotted table

    The following will also work

    CREATE TABLE [.[[.[[.[[.]].]].]].]]]

    ( myid INT

    , mychar VARCHAR(200)

    );

    or

    CREATE TABLE [[[[[[[]]]]]]]]]

    ( myid INT

    , mychar...

  • RE: The dotted table

    Iwas Bornready (11/24/2015)


    I tried creating a #table and it didn't like the periods.

    The # needs to be inside the brackets

    CREATE TABLE [#this.is.a.test]

  • RE: User Defined Data Type Alias

    Got it wrong. I've only used user defined table types, for which you need AS not FROM. I wonder why the syntax is different?

  • RE: Create Procedure

    Larnu (11/4/2015)


    But you've corrected the question now. The question wasn't should you avoid "Create procedure [1Myproc]", it's "Create procedure 1Myproc". With the same respect i could therefore say that "sp_MyProc"...

  • RE: Create Procedure

    Larnu (11/4/2015)


    Asking if you would avoid calling an sp 1MyProc, the simple answer is yes, because you can't do it.

    But you can do it - I gave you the syntax.

    Whether...

  • RE: Create Procedure

    tripleAxe (11/4/2015)


    I also agree with these comments above. If they give syntax errors then you have no choice but to avoid them.

    You do have a choice - you could...

  • RE: Which gives the greatest points?

    edwardwill (10/30/2015)


    Toreador (10/30/2015)


    The correct answer should be END TRY - the completion of the try, which scores 5 points in Union, 4 in League. The Try Conversion (TRY_CONVERT) then scores...

  • RE: Which gives the greatest points?

    The correct answer should be END TRY - the completion of the try, which scores 5 points in Union, 4 in League. The Try Conversion (TRY_CONVERT) then scores an additional...

  • RE: To view or not to view, that is the question.

    Carlo Romagnano (10/29/2015)


    Easy questions.

    Thanks!

    😀

    But, what happen?

    Correct answers: 29% (108)

    Maybe most people work in places where nobody is daft enough to do anything like this so it will have been a...

  • RE: More wildcard searches

    Luis Cazares (10/28/2015)


    He's at PASS Summit, so he might not be able to correct this right away.

    So how many pages of "the correct answer should be 5" replies will we...

  • RE: More wildcard searches

    Oops!

  • RE: Differences Between Lower Compatibility Levels and Level 120

    Interesting question, and I managed to get it wrong, even though that the question includes the answer!

    "The following query ignores the SET LANGUAGE statement except under compatibility level 120: "

  • RE: Cross Apply

    The correct answer is that an error occurs, as neither of those tables exists 😉

  • RE: INTERSECT

    The correct answer is that an error is returned as the columns are defined as "Id" and referenced as "ID" 😉

  • RE: Counting Classes

    I got it right, but with the wrong reasoning. My rationale was that there is a trivial way of getting the answer we need, so it's unlikely that SQLServer would...

Viewing 15 posts - 76 through 90 (of 656 total)