Forum Replies Created

Viewing 15 posts - 451 through 465 (of 812 total)

  • RE: SQL views

    Easy qotd, but explanation is really confused.

    Schemabinding doesn't hide the definition and users of the database could still view the definition if TDE is enabled.

    Why do you think that...

  • RE: Indexing in views

    sneumersky (7/24/2013)


    That said, there are probably other potential uses for indexed views (BI or non-BI related) than I can think of at this moment in time.

    I use indexed view to...

  • RE: Indexing in views

    Before ALTERing an INDEXED VIEW is better to save its list of indexes, because they'll be dropped.

    It would be better putting a comment in the view with the command to...

  • RE: The OUTPUT clause and T-SQL Syntax

    Hugo Kornelis (7/23/2013)

    ...

    In other words - if the statement causes a trigger to fire, it should have either no OUTPUT clause or an OUTPUT clause with an INTO keyword....

  • RE: The OUTPUT clause and T-SQL Syntax

    Very very very GOOD question.

    😀

  • RE: Return

    mickyT (7/17/2013)


    Interesting question thanks:-)

    I think it also provides a good argument for the use of statement terminators or formatting scripts in a clear manor (with comments:-D).

    Batch...

  • RE: Return

    kapil_kk (7/16/2013)


    Hi,

    as per the explanation- The stmt "return (select 5)" gives error because in a batch RETURN with integer_expression is not admitted (note: PARENTHESIS cast the SELECT to an integer_expression...

  • RE: SQL Server 2012 Concat

    L' Eomot Inversé (7/9/2013)


    Nice straightforward question. Good to see a question about another new feature in SQL 2012.

    However, introducing a weird ODBC function into T-SQL seems to me a...

  • RE: SQL Server 2012 Concat

    Hugo Kornelis (7/9/2013)


    Carlo Romagnano (7/9/2013)


    select concat(null + 'Hello','testString') as a

    , null+'testString' as b

    It simply returns 'testString', NULL

    😀

    Yup. If you wanted to get 'HellotestString', you'd use...

  • RE: SQL Server 2012 Concat

    Some formatting with CONCAT:

    SELECT

    concat

    (

    'Name: ',t.name

    ...

  • RE: SQL Server 2012 Concat

    select concat(null + 'Hello','testString') as a

    , null+'testString' as b

    It simply returns 'testString', NULL

    😀

  • RE: A simple trick for “Block Comment” syntax in SSMS

    Wonderfull!

    You gave me a good Idea.

    😀

  • RE: T-SQL Like

    Iggy-SQL (7/2/2013)


    To me, the explanation isn't quite right. I believe the right explanation should be something along this line:

    Statement 1 : The SQL Database Engine converted the Val value to...

  • RE: IFF - 1

    Hugo Kornelis (6/19/2013)


    L' Eomot Inversé (6/19/2013)


    After all, case-sensitive collations are an absolute pain for almost all purposes, so it might be a good idea to get people whose servers are...

  • RE: SQL CHOOSE

    matthew.flower (6/19/2013)


    It is all very well saying "re-run it with this additional line" when the returned error from the code in the question is exactly the wording of one of...

Viewing 15 posts - 451 through 465 (of 812 total)