Forum Replies Created

Viewing 15 posts - 226 through 240 (of 821 total)

  • RE: Nested Schemas

    patricklambin (11/18/2015)


    I would advice to prohibit this way of coding/naming.

    I disagree, naming conventions should reflect the factory needs. So, it may be that [Sales.XXX] is good in some environment.

  • RE: Create Procedure

    If I want to be pedant, the right answer is "All of the above".

    Because of lacking of batch separator "GO".

    If you run the script no procedure is created.

  • RE: Create Procedure

    paul 25096 (11/4/2015)


    I think the reason "Options 1, 2 and 3" has more votes than "Option 2" is because of course you should also avoid statements that cause a syntax...

  • RE: Risks of NOLOCK, part 2

    Excellent!

  • RE: Risks of NOLOCK, part 1

    I get it wrong because I forgot this from BOL:

    READUNCOMMITTED and NOLOCK hints apply only to data locks. All queries, including those with READUNCOMMITTED and NOLOCK hints, acquire Sch-S (schema...

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

    Easy questions.

    Thanks!

    😀

    But, what happen?

    Correct answers: 29% (108)

  • RE: Differences Between Lower Compatibility Levels and Level 120

    Interesting question!

    Thanks.

  • RE: INTERSECT

    Toreador (10/13/2015)


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

    Toreador!

    Default collation is case insensitive.

    😀

  • RE: Filetable File Lengths

    Good!

    Next month I want to start using filetable.

    I'm really curious.

    😀

  • RE: Column aliases

    Ed Wagner (9/2/2015)


    Stewart "Arturius" Campbell (9/2/2015)


    Methinks thisis going to turn into an interesting discussion.

    Thanks fot the question, Steve

    I'm thinking that your thinking is right. 😉

    I wonder if this counts as...

  • RE: Column aliases

    "String literals as column aliases" are a deprecated feature!

  • RE: Column aliases

    Louis Hillebrand (9/2/2015)


    3 or 9 depends how you define different...

    column AS alias

    column AS 'alias'

    column AS [alias]

    column alias

    column 'alias'

    column [alias]

    alias = column

    'alias' = column

    [alias] = column

    And I didn't use double quotes.

    I...

  • RE: Column aliases

    The right answer

    SELECT mynum AS test

    FROM dbo.myTable AS mt;

    SELECT test = mynum

    FROM dbo.myTable AS mt;

    SELECT 'test' = mynum

    FROM dbo.myTable AS mt;

    SELECT mynum test

    FROM dbo.myTable AS...

  • RE: Mount Points

    david.gugg (9/1/2015)


    I guess I don't know what a mount point is well enough, but can't you get that information by looking at the file name and path in sys.master_files?

    That's a...

Viewing 15 posts - 226 through 240 (of 821 total)