Forum Replies Created

Viewing 15 posts - 76 through 90 (of 93 total)

  • RE: Explain Plain

    Hi GilaMonster,

    I have attached the explain plan.

    I have tuned another query and successfully convert index scan to index seek. But when I have index seek, keyLookup also came ....

  • RE: Explain Plain

    this is great Lowell. it was not in my consideration .

    I will ask developer.

  • RE: Fetch table name,size

    Andy thank you. this is really great 🙂

  • RE: how to check stored proc execution status

    thank you opc and Jack.

    I am using return code because I will not throw error to client.

    My application will hit stored porc and proc will do some processing (will execute...

  • RE: Logical cascade constraint

    thank you Ten Centuries

    but how ?any TSQl code reference you have ?

  • RE: how to check stored proc execution status

    Hi ,

    I have got it.

    Declare @rc int;

    Exec @rc=spName;

    Print @rc;

    If rc is 0, it means success else I will have error code e.g.-6

  • RE: Insert into table

    thank you Gail Shaw

  • RE: dynamic sql

    Sean Lange (5/19/2011)


    I'm sorry but your logic is Severely flawed.:w00t:

    I figured that when I saw

    @col_name= column name coming rom cursor

    at the very top.

    If you really want some help...

  • RE: dynamic sql

    Welsh Corgi (5/19/2011)


    thbaig1 (5/19/2011)


    Hi ,

    @col_name= column name coming rom cursor

    @ColValue= will store column value

    select @ColValue=@col_name

    from dbo.tblBlo

    WHERE Customer_no = @CustomerNumber

    ...

  • RE: Select skip n

    thanks it worked 🙂

  • RE: Select skip n

    this is not thee way I am looking for

  • RE: Add identity to existing column

    no other way?

    as this column can be primary and reference exist on many places, so drop and recreate can create some problems.. 🙁

  • RE: Stored Proc with dynamic table column

    ColdCoffee (5/4/2011)


    As Ninja put it, the solution might not be an efficient one. Can be done in 3 parts.

    1. UNPIVOT your columns - this will be dynamic as u don't...

  • RE: read sqlserver trace file

    at last I have generated the explain plan file from profiler.

    Now these are hundreds of files.

    Is there any way to read and group all files at once and generate a...

  • RE: read sqlserver trace file

    my question is how can I extract execution plan in it.

    I have created a table with some function , I have tried to open in several way but nothing like...

Viewing 15 posts - 76 through 90 (of 93 total)