Forum Replies Created

Viewing 15 posts - 406 through 420 (of 790 total)

  • RE: I need this Values

    saravanantvr1984 (3/4/2009)


    Hi dear all,

    If I give one date like '2008-03-04' i need the result next month last day or date

    SELECT DATEADD(M,1,'2008-03-04')

  • RE: Query

    steveb (3/4/2009)


    good point !! thanks

    As always all helps and alternative suggests are welcomed from each-other!

    😉

  • RE: Query

    steveb (3/4/2009)


    try this code..

    SELECT ParentId , '--Parentid' AS TypeId

    FROM YouTable

    UNION

    SELECT ChildId , '--Childid' AS TypeId

    FROM YourTable

    Instead of UNION use UNION ALL because the UNION statement select only distinct values the...

  • RE: "Answered" Posts

    It would be better to change the color of the accepted post as solution for the user if the problem solved!

    I suggest before that if we have solution to close...

  • RE: How to grab a SQL Job among 100 peoples ?

    The most thing that can be happen negatively for you and positively for the persons who interviewed you is that you have sometimes the overqualified skills and sure that they...

  • RE: Why employees fail?

    sometimes:

    They don't want you if you are overqualified! 😛

  • RE: query

    Yea Correct something like this:

    SELECT T1.emp_id, T2.emp_id, T2.name, T2.DOB, T2.emp_address

    FROM TABLE2 T2 LEFT OUTER JOIN TABLE1 T1 ON t1.emp_id = t2.emp_id

  • RE: query

    Hmmm if you prepare more details about you problem it would be better that the other will choose your problem without spending time to create table then add some data...

  • RE: Removing cursor from TSQL - 1

    Jeff Moden (3/3/2009)


    [font="Arial Black"]Dugi... [/font]if I may suggest, it's better to give someone no answer than to give them what might be one of the worst answers for replacing cursors....

  • RE: Removing cursor from TSQL - 1

    Chris Morris (3/2/2009)


    Jeff Moden (3/2/2009)


    There's no special technique for this... it's simply the choice to figure it out using regular ol' set based code. It doesn't require a Tally...

  • RE: Decimal symbol

    I don't have any info that you can do it with SQL Server database settings, SQL Server doesn't change its behavior depending on regional settings in this case the decimal...

  • RE: Decimal symbol

    Why you are going to change the decimal symbol?

  • RE: Removing cursor from TSQL - 1

    Hi Jeff !

    I know your rules about T-SQL and special techniques that you can use for any kind of the problem till today! I just make a little search couz...

  • RE: failover cluster setup

    MANU (3/2/2009)


    Why not watch a video-->http://www.jumpstarttv.com/clustering-sql-server-2005_33.aspx

    Free registration required.

    MJ

    Yea ...nice video tutorial how to setup cluster .....I agree with MANU!

  • RE: dynamically creating a tablename in tsql

    declare @strsqlcreatetable as nvarchar(255)

    declare @tablename as nvarchar(255)

    declare @strsql as nvarchar(255)

    select @tablename = 'lclifecycle' + convert(nvarchar(2), datepart(mm, getdate())) + convert(nvarchar(4), datepart(yyyy, getdate()))

    print @tablename

    select @strsqlcreatetable = 'create table ' +...

Viewing 15 posts - 406 through 420 (of 790 total)