Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)

  • RE: Solve Sudoku with T-SQL - Part 1

    bevanward - Tuesday, February 20, 2018 7:01 AM

    Hi Dude76
    YES - there is an order by missing from the code that generates...


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: Solve Sudoku with T-SQL - Part 1

    This code is interesting but seems to be completly bugged :/
    I ran the first sample : exec sp_sudoku_solve_simple '023780460000620000060304080001000534280000097439000100010205040000036000056018370'
    the exposed solution is completly false, and almost alls initals...


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: Temp Tables

    vk-kirov (12/17/2009)

    To those people who answered '1,3,4': is the condition 'all active tasks have stopped referencing them' sufficient for dropping the table? The answer is 'No, it is not'. If...


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: Temp Tables

    I totally disagree !

    This ("When the session that created it ends") unchanged and without further explanation is false, because if there is another connection that accesses this global table it...


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: Shrinking the transaction log

    One more time (as usual ? as often ? ) , "all of these apply".


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: Clustered Index Internals

    "doubly linked lists".

    Well, i learn something today 🙂

    I thought it was B-Tree.

    I don't like questions where all answers are right, it don't learn us the limits, it makes me confusing,...


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: nvarchar

    i d'ont understand...

    I selected 'national character varying', told me is wrong and that the answer was ... 'national character varying' :blink:


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: one character of data

    Well, i'm surprising by the answer (thought about char(1) or nchar(1), and the answer is nvarchar(1) ?

    MMmmmm... and what about the 2 bytes added in header ?

    I can't agree !...


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: Fun with Scale and Precision

    declare

    @d1 decimal(38,10),

    @d2 decimal(38,10)

    SELECT

    @d1 = 1.67574,

    @d2 = 10000

    SELECT

    d1 = @d1,

    d2 = @d2,

    d1_div_d2 = @d1 / @d2,

    cast_div = CAST(@d1 / @d2 AS DECIMAL(38,10)),

    num_div = 1.67574 / 10000.0,

    cast_num_div = CAST(1.67574 / 10000.0 AS...


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: The Sixty-Second Guide to becoming a SQL Server DBA

    just study through them and learn the answers

    well... i can't agree this one.

    study through them, yes, learn throught them also, understanding, learning mechanisms is right.

    Learning answers and become a parrot......


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: Date and Time

    Yes, you knew Datetime.

    But Sql Server 2008 provides new datatypes to store -between others - or only a date or only a time.

    In the answer, you have a link to...


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: Datetime precision

    Lynn Pettis (11/30/2009)


    Dude76 (11/30/2009)


    I will personaly prefer to do something like cast(cast(getdate() as int) as datetime) to obtain de date of the day at midnight rather using datediff+dateadd functions.

    There has...


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: Datetime precision

    I will personaly prefer to do something like cast(cast(getdate() as int) as datetime) to obtain de date of the day at midnight rather using datediff+dateadd functions.


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: SQL Server Jobs

    So, it seems i'm not alone being trapped by create/schedule a job for the 2008 Express Edition 😀


    My MCP Transcript (ID : 692471 Access : 109741229)

  • RE: ISNUMERIC() and REPLICATE()

    Not an every day problem for us (hi from France ^^ ), but as we have to communicate in english for international, it is an usual question 😀


    My MCP Transcript (ID : 692471 Access : 109741229)

Viewing 15 posts - 1 through 15 (of 19 total)