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...

  • 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...

  • 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...

  • 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...

  • RE: Shrinking the transaction log

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

  • 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,...

  • RE: nvarchar

    i d'ont understand...

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

  • 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 !...

  • 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...

  • 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......

  • 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...

  • 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...

  • 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.

  • RE: SQL Server Jobs

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

  • 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 😀

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