Forum Replies Created

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

  • RE: How to recover a accidently deleted Table?

    Is there any other way to recover it?

  • RE: How to recover a accidently deleted Table?

    Thanks for reply.....

    I will work on the solutions you have given......

  • RE: Indexes related problem in SQL server 2000

    See attached queries & execution plans screenshots...

    1.SELECT * FROM EMPLOYEEINFO_INDEX

    WHERE DEPARTMENT ='TP'

    OR DEPARTMENT = 'EAGLE'

    2.SELECT * FROM EMPLOYEEINFO_INDEX WHERE DEPARTMENT ='TP'

    union all

    SELECT * FROM EMPLOYEEINFO_INDEX WHERE DEPARTMENT = 'EAGLE'

    3.SELECT...

  • RE: Indexes related problem in SQL server 2000

    hi karthikeyan,

    see my previous post for attachement...

  • RE: Indexes related problem in SQL server 2000

    total rowcount without any conditions = 3215

    total rowcount when Dept 'Abc' = 81

    total rowcount when Dept 'XYZ' ...

  • RE: Indexes related problem in SQL server 2000

    See attached queries & execution plans screenshots...

    1.SELECT * FROM EMPLOYEEINFO_INDEX

    WHERE DEPARTMENT ='TP'

    OR DEPARTMENT = 'EAGLE'

    2.SELECT * FROM EMPLOYEEINFO_INDEX WHERE DEPARTMENT ='TP'

    union all

    SELECT * FROM EMPLOYEEINFO_INDEX WHERE DEPARTMENT = 'EAGLE'

    3.SELECT...

  • RE: Indexes related problem in SQL server 2000

    I have run following queries simultaneously in query analyser.

    1. SELECT * FROM EMPLOYEEINFO

    WHERE DEPARTMENT ='ABC'

    OR DEPARTMENT = 'XYZ'

    Query Cost : 15%

    2. SELECT * FROM EMPLOYEEINFO (index = TEMP)

    WHERE DEPARTMENT...

  • RE: Indexes related problem in SQL server 2000

    Hey..finally it works...

    Query should be..

    SELECT * FROM EMPLOYEEINFO_INDEX (index = INDEX-2)

    WHERE DEPARTMENT ='ABC' OR DEPARTMENT = 'XYZ'.

    But basic problem remain as it is. For above query query cost is 73%...

  • RE: Indexes related problem in SQL server 2000

    karthikeyan (7/31/2008)


    or... you can use force the index.

    SELECT * FROM EMPLOYEEINFO_INDEX (index INDEX-2)

    WHERE Department = 'ABC' OR Department = 'XYZ'

    Check out the query plan and let me know.

    Hi karthikeyan ,

    ...

  • RE: Indexes related problem in SQL server 2000

    karthikeyan (7/31/2008)

    Quick solution is, just use union all statement. check out the query plan now and let me know.

    ----------------------------------------------

    SELECT * FROM EMPLOYEEINFO_INDEX

    WHERE Department = 'ABC'

    Union All

    SELECT * FROM EMPLOYEEINFO_INDEX...

  • RE: Temporary Table problem

    yaah...

    We are going to create these table as per user_name who is active in session & drop that table as soon as it's job over.

    thanks for support.

  • RE: Temporary Table problem

    HELLO GUYS,

    I have resolved this problem. Actually I was creating local temp table. The scope of any local temp table is into the block in which...

  • RE: Temporary Table problem

    Jeff,

    Thanks for u'r suggestion.

    I will check it out.

  • RE: Altering large table

    John Rowan (6/18/2008)


    And to expand on what Rudy has said, because the rows themselves are not affected until a modification takes place, this whole scenario changes if you add the...

  • RE: Altering large table

    rudy komacsar (6/18/2008)


    To answer you question on where columns are added is a bit lengthy. To really oversimplify simplify things greatly a row on a page in SQL Sever...

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