Forum Replies Created

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

  • RE: Rebuild Index Fail

    SKYBVI (6/30/2011)


    Will the option

    "Keep index online while reindexing" help solve the deadlock issue?

    Regards,

    Sushant

    sorry, cant perform that operation as its a standard edition not an enterprise edition

    Regards,

    Sushant

  • RE: Rebuild Index Fail

    Will the option

    "Keep index online while reindexing" help solve the deadlock issue?

    Regards,

    Sushant

  • RE: Rebuild Index Fail

    SQLRNNR (6/28/2011)


    You may want to exclude that table for the main index rebuild job and then add it to a secondary plan.

    You have something that is running at the same...

  • RE: Execution plans

    got bowled over 🙂

  • RE: Scripting server & database level permissions in SQL 2005

    Vicki Peters (6/27/2011)


    Perhaps I am missing something, but this seems to handle everything on the database level. I am looking for server-level scripting as well.

    you can find the script to...

  • RE: Logshipping new error

    maybe one of the trn files are (not copied/deleted) and so it keep on searching for that file as it cant apply other files...

    Reapplying log shipping on tht db...

  • RE: Insert query generating error

    ALZDBA (6/21/2011)


    for more info on the appy operator have a look at http://www.sqlservercentral.com/articles/APPLY/69953/

    Cool...

    thxs !!

    Regards,

    Sushant

  • RE: Insert query generating error

    @ alzdba

    That was it.

    THANKS A LOT !!!

    Its little bit difficault to understand but iam trying 🙂

    Regards,

    Sushant

  • RE: Insert query generating error

    ALZDBA (6/18/2011)


    why aren't you just making that column an identity column.

    alter table x

    alter column seqnr bigint identity( yourstartvalue, yourincrementvalue ) ;

    Keep in mind, you should no longer insert that column...

  • RE: adding 2 numbers

    plz exp[lain clearly, i cant understand

  • RE: Insert query generating error

    ALZDBA (6/16/2011)


    How about this:

    Select ITEMNMBR

    , ROW_NUMBER() over (order by (select 1)) * 16384 as SeqNumbr

    from IV00101

    where ITEMNMBR not...

  • RE: Insert query generating error

    Yes, i checked out the seqnumbr values, each value goes on increasing by 16384..

    That means I have to check the max value of seqnumbr and then increment it by 16384...

  • RE: Insert query generating error

    ALZDBA (6/11/2011)


    In your query you are only checking on itemnumber.

    The index is on three columns, including sequencenumber, the other two are the same columns a with the PK except itemnumber.

    You...

  • RE: Insert query generating error

    Don Urquhart (6/10/2011)


    SKYBVI (6/10/2011)


    Don Urquhart (6/10/2011)


    It looks to me like you are inserting only the ITEMNUMBER field, with no values for the key fields (tcsFLST_AttribGroup,[tcsFLST_ItemAtrib) which can not be NULL....

  • RE: Insert query generating error

    @ ALZDBA

    USE [RTW]

    GO

    /****** Object: Index [AK3tcsINVTB00026_AttribAsgn] Script Date: 06/10/2011 16:12:41 ******/

    CREATE UNIQUE NONCLUSTERED INDEX [AK3tcsINVTB00026_AttribAsgn] ON [dbo].[tcsINVTB00026_AttribAsgn]

    (

    [tcsFLST_AttribGroup] ASC,

    [tcsFLST_ItemAtrib] ASC,

    [SEQNUMBR] ASC

    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE...

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