Forum Replies Created

Viewing 15 posts - 91 through 105 (of 1,169 total)

  • RE: null as a parameter

    create procedure p_name(@id int, @name varchar(50)

    as

    if @name is not null

    select * from tableA where ID = @id and name = @name

    else

    select * from tableA where ID = @id

    go

  • RE: The Backup Operator

    Simply, when the backup agent job makes the backups it makes them from the master database context (for example) and not changing the contexts for each of the databases.

    So...

  • RE: Subqueries in VALUES()

    In this case multiple rows are not returned in sub-queries because of the fact EmployeeID is PK of the table. All queries will work.

  • RE: SQL 2012: SERVERPROPERTY

    Very nice question, I had to examine all the instances i work on to check your answer is correct.

    Thanks

  • RE: Trailing

    Hi

    The question had been placed here, but I cannot find it right now.

    Here is the connect issue - https://connect.microsoft.com/SQLServer/feedback/details/273348/trailing-comma-allowed-in-create-table

    You can add one comma "," in the end, but not more,...

  • RE: Logical processors

    TomThomson (9/22/2016)


    Igor Micev (9/22/2016)


    TomThomson (9/22/2016)


    Interesting question.

    There is a rather odd statement in the explanation: "Hyperthreading does not affect licensing limits". That's not correct. Hyperthreading doess affect licensing limits...

  • RE: Logical processors

    TomThomson (9/22/2016)


    Interesting question.

    There is a rather odd statement in the explanation: "Hyperthreading does not affect licensing limits". That's not correct. Hyperthreading doess affect licensing limits on a virtual...

  • RE: Logical processors

    Mauricio_ (9/22/2016)


    So what's the right answer? According to today's mail, is 16 logical processors. I'm confused now.

    The correct answer is 24 logical processors. Sorry for the mistake.

  • RE: Logical processors

    thierry.vandurme (9/21/2016)


    Hi Igor,

    thx for the interesting question. Do you have any thoughts on how hyperthreading relates to licensing?

    Regards

    Thierry

    Hi,

    Hyper-threading has nothing in relation with the licensing. You're paying per core always.

    Hyper-threading...

  • RE: Logical processors

    Steve Jones - SSC Editor (9/21/2016)


    Apologies for the wrong checkbox. I thought I had set this correctly, but I may have clicked the wrong answer item.

    Points have been awarded back...

  • RE: Logical processors

    Carlo Romagnano (9/21/2016)


    Igor Micev (9/21/2016)


    Carlo Romagnano (9/21/2016)


    Boh, I don't understand:

    The SQL Server 2014 Standard Edition can use up to 16 physical cores. If hyper-threading is enabled on a 16-core server,...

  • RE: Logical processors

    Carlo Romagnano (9/21/2016)


    Boh, I don't understand:

    The SQL Server 2014 Standard Edition can use up to 16 physical cores. If hyper-threading is enabled on a 16-core server, then there are 32...

  • RE: Logical processors

    dawryn (9/21/2016)


    Really? Or are you just kidding? :w00t:

    What was the question about?

    Guessing whether it is physical/virtual machine or capacity limits?

    You don't have to guess, it clearly states "You have a...

  • RE: Is Division by Zero NULL?

    Gregory Hart (9/6/2016)


    if divide by zero is allowed, it's possible to prove that 1=2

    The above claim would only work in a logical proof if you identified that NULL= NULL ....

  • RE: Is Division by Zero NULL?

    The Dixie Flatline (9/6/2016)


    Gregory, you are arguing semantics based on *your* definition of null. We are telling you how SQL works. Further argument is pointless here...

Viewing 15 posts - 91 through 105 (of 1,169 total)