Forum Replies Created

Viewing 15 posts - 1,336 through 1,350 (of 2,463 total)

  • RE: DBCC SHRINKFILE not working for datafile

    isheej (9/10/2010)


    you will want to REORG indexes (NOT rebuild) to correct fragmentation issues.

    It depends on the fragmentation percentage , What says isheej :-)?

  • RE: Job running too long

    homebrew01 (9/9/2010)


    The error sounds as though the job does not have permission on the folder. Perhaps folder permissions have changed, or the job is running under a different account than...

  • RE: Job running too long

    Has the volume of data been increased ? means heavy data will take longer time.

    above of all , have you made any kind of changes like, script change, privilege changes...

  • RE: Shrink Log File

    i am not good while dealing with replication but i guess below script might help you.but read it carefully

    use database_name

    go

    create table shrinkfile(

    col1 int,

    col2 char(2048)

    )

    dump tran database_name with no_log

    dbcc shrinkfile(logical_name_of_log,...

  • RE: DBCC SHRINKFILE not working for datafile

    Manie Verster (9/8/2010)


    How much free space should I have in relation to the size of the database file?

    it might be anything above initial size + auto growth size(percentage). please...

  • RE: table tuning

    premkuttan.lakshmanan (9/5/2010)


    I have 30 tables in a Db whereas in 1 table i dont have any rows or (0 rows)

    but still it takes 10 to 20 seconds to give 0...

  • RE: Maintenance Plan failure

    Vishal Singh (9/6/2010)


    Twinsoft SME (9/3/2010)


    Have you try recreating the package?

    Yes, but the same error appears.

    Did you restart the sql agent ? and did you try to execute plan plan...

  • RE: Logfile growth

    jamessdb (9/7/2010)


    How to Restrict & Reduces The LDF file sizes

    What are your backup plan strategies ( in case of log files) ?

  • RE: Replace Not in subquery with a self join

    GilaMonster (9/7/2010)


    Just note that it is not a requirement that a CTE start with a ;. It's a requirement that the statement before be terminated with a ;. Since this...

  • RE: Replace Not in subquery with a self join

    somaiya.chintan (9/7/2010)


    Thanks. I tried this, but there appears to be some syntax error with it. Have never seen this kind of statement before so couldnt fix it somehow.

    any more suggestions?

    ...

  • RE: Replace Not in subquery with a self join

    somaiya.chintan (8/25/2010)


    DELETE FROM RPF WITH (ROWLOCK)

    any specific reason to use ROWLOCK ? ...i think sql server itself decides to use locking mechanism.. i am just curious:-)

  • RE: Help Me Guys

    GilaMonster (9/7/2010)


    Bhuvnesh (9/6/2010)


    subbusa2050 (9/6/2010)


    ** Set @Old_Val = (Select @OC from deleted) tis IS NOT WORKING.

    How would you get data from deleted table in case of INSERT trigger. there...

  • RE: check history of lock info

    Chan Wai Yin (9/7/2010)


    Bhuvnesh (9/6/2010)


    What kind of lock ? Do you mean different transactional locks like shared, update locks etc ??

    Yes, all kinds of transactional locks like read lock,...

  • RE: Help Me Guys

    subbusa2050 (9/6/2010)


    Ok ok fine. but im not getting the value for the following query

    set sqlqry = 'select' + @oc +'from inserted'

    exec(sqlqry)

    'select' + @oc +'from inserted' will not work...

  • RE: msdb.dbo.sp_send_dbmail Not working with SQL JOB

    prakashdotc (9/2/2010)


    when i incorporate this SP in SQL Agent as a nightly build process it's not working and doesn't sends mail

    Are you using the correct profile/account name ? i...

Viewing 15 posts - 1,336 through 1,350 (of 2,463 total)