Forum Replies Created

Viewing 15 posts - 16 through 30 (of 33 total)

  • RE: query help required

    Lynn

    Sorry for the delay:

    This is the required output

    eid ename salary ...

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: query help required

    Wschampheleer,

    Sorry for misspelling your name in the first reply...

    i am getting the expected result...

    Thanks a million!

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: query help required

    Hi Wschampler

    but the query does not work for this sample data..

    insert into emp values(1,'CCCCC',10000,'abc','01/01/2005','n')

    insert into emp values(1,'CCCCC',10000,'xys','01/11/2005','n')

    insert into emp values(1,'CCCCC',20000,'xyz','01/01/2006','n')

    insert into emp values(1,'CCCCC',20000,'xyy','01/01/2008','y')

    i need this employee to get returned in...

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: query help required

    Sorry Nabha..

    Let me explain exactly i want.

    If we look the table, we have 3 records for the empid 1,

    1st record on the 01-01-2005 was inserted when that employee actually joined.

    the...

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: How to Convert Varchar to datetime datatype

    what about this?

    select datediff(d,getdate(),convert (datetime,'09-06-2005 00:00:00',101))

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: executing xp_cmdshell with a sql login

    Thanks a Ton!

    Adding the local administrator account as the proxy account resolved the issue.

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: executing xp_cmdshell with a sql login

    Hi,

    I enabled the "Non sys-admin job step proxy account" in the sql server agent settings. Still it is failing, but with a different message.

    Msg 50001, Level 1, State 50001

    xp_cmdshell...

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: executing xp_cmdshell with a sql login

    As i told earlier.. this is the error

    Msg 50001, Level 1, State 50001

    xp_cmdshell failed to execute because current security context is not sysadmin and proxy acount is not setup...

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: Query to check the number of rows in a table against a column in the same table

    Exactly what i wanted....

    Perfect.. Superb.. Fantastic

    Thanks and Regards,

    Paartha

    My Brain stopped working Today 🙁

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: Query to check the number of rows in a table against a column in the same table

    Pakki,

    There are no unique keys.

    Take the example of an invoice detail table..

    It will contain the invoice number, number of rows , and other details..

    I need to validate whether the...

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: User registration

    any updates?

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: reallocate query processing

    I read after configuring a primary sever and secondary server

    (through log shipping from Primary databases), you can reallocate query processing from Primary server to secondary servers.

    Hope u can understand now.

    For...

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: reallocate query processing

    Sql Server is Microsoft SQL Server 2005/2000

    OP sys Windows 2003 /2000

    Plz generalise without releases

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: Exists Vs Not Exists . Which one is Better?

    Thanks for all your replies .. i too tried on many tables and was tried to compare execution plans .. but i too feel that exists and not exist would...

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • RE: Sql Triggers

    it will get updated , but will have the detail of only when it got updated latest

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

Viewing 15 posts - 16 through 30 (of 33 total)