Forum Replies Created

Viewing 15 posts - 181 through 195 (of 215 total)

  • RE: TSQL

    john.arnott (4/5/2010)


    malleswarareddy_m (4/4/2010)


    Good QOD.This Question gives good information about bit datatypes.

    when we use space or all zero it bit will convert it into zero.If we give numeric(numbers) it will convert...

  • RE: TSQL

    vk-kirov (4/5/2010)


    malleswarareddy_m (4/4/2010)


    declare @bit bit

    set @bit='00000'

    select @bit

    This gives 1 as output.

    This must be a typo because the result is 0.

    Yes it will give zero as ouptut. Some typing mistake.

  • RE: TSQL

    Good QOD.This Question gives good information about bit datatypes.

    when we use space or all zero it bit will convert it into zero.If we give numeric(numbers) it will convert it into...

  • RE: Don't forget this date.

    Hi,

    When I using SQL Server it show default of SQL Server as 1900-01-01.I thought that it was the least date.

    But my answer is wrong.

  • RE: DBCC Timewarp

    I also lost 7 points.Happy april fools day.

  • RE: You are the DBA at a multinational company...

    Hi Steve jones,

    I have created the table as given in question.but it will not given an error or warning message.I shows

    commands executed sucess fully.Even though I put SET ANSI_WARNINGS ON.

    I...

  • RE: SSMS - feature

    Hi,

    I got wrong to this question.because that url part was commented.

    Without comments it will work fine.but with in comments how will it work i do not know.

    the author of this...

  • RE: how to set Master database to singleuser mode

    Hi,

    from SSMS i put new query window.but how can i restore using query or by right click on database/restore option.Itried both that not worked.

    by using command propmt it worked.

    using sqlcmd...

  • RE: Question of the Day for 16 Dec 2005

    when x is 0 then y =10

    when x is 1 then y =9.33

    when x is 2 then y =8.66

    when x is 3 then y =7.99

    when x is 4 then y...

  • RE: Type lengths

    I got wrong.

    But the question is good.

  • RE: How to calculate Average datetime in sql server

    ok.Its working fine

  • RE: How to calculate Average datetime in sql server

    Hi thanks for reply,

    this above code is fine but it will take the average time not full datetime.

    I want to calculate time not average of date.

  • RE: Transpose cloumns into rows and rows into columns

    Hi pual ,

    i got suceeded with pivot and unpivot.But i First transpose this to unpivot then pivot the table.I take two steps for this.

    But you have done this in single...

  • RE: Transpose cloumns into rows and rows into columns

    Hi i got my result .but i did not got my result directly with combination of pivot and unpivot result.first i unpivot the result into temp

    then pivot the temp table.

    finally...

  • RE: Question of the Day for 16 Dec 2004

    correct answer is currentdate()+2;

    i had choosen the answer as currentdate()+2;

    but the answer is wrong.then i copy and paste the code in browser and executed the same result

    as currentdate()+2;

    I did...

Viewing 15 posts - 181 through 195 (of 215 total)