Forum Replies Created

Viewing 15 posts - 631 through 645 (of 687 total)

  • RE: Characters in IIF statements

    All the sites I'm seeing show that the conditional variable, if characters, needs to be in quotes.

    =iif(Fields!COSTYPE.Value = "M","Available","Reconciled")

    looks like the right syntax.

    (not an ssrs expert)

    perhaps it's a data type...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Alter Index... Sort_In_Tempdb On

    I did some more testing, focusing on reorganize since it is the culprit of the log growth. I ran the same test sequence four times for different fill factors. Here...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Log File VLFs

    Thanks for the question.

    I was about to encite a forum riot with "it depends how big the log is and you didn't say!!!! bad question! bad poster! trick question!...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Alter Index... Sort_In_Tempdb On

    Christoph,

    Yes, each round I would truncate the log before introducing fragmentation. The rebuild was happening offline (default).

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Alter Index... Sort_In_Tempdb On

    Alright, it didn't go as expected. I set sort_in_tempdb = on and didn't get the results i expected. Looking over the logs, the index was reorganized and not rebuilt. This...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Alter Index... Sort_In_Tempdb On

    TheSQLGuru (1/7/2011)


    Good luck with the testing. Don't forget to size tempdb appropriately and not wait for autogrowths to size it for you.

    Yep. It's happening Saturday night and there's no...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Alter Index... Sort_In_Tempdb On

    Thanks Chris,

    I was thinking more about it last night (dreaming of sql server? i need a break) and thought of an additional caveat to using sort_in_tempdb. When I rebuild indexes,...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Index Rebuild -- DB Mirroring / Log Shipping

    Satish,

    I ran into a very similar issue recently. When my indexes would rebuild on the weekend, my log would inflate 300%. It will stay that way until the next log...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Powershell Database Backup Script

    David Bird (1/5/2011)


    I could see using this script on a SQL express installation without SQL Agent installed. Windows Scheduled Taks would be used for scheduling it.

    I am not sure...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Setup failed because Service MSSQLServerADHelper is disabled for the current hardware profile

    Koen (da-zero) (1/5/2011)


    The original question didn't say anything about starting SQL Server Agent.

    However, an answer from MS Support in the thread you linked to (the link doesn't work by the...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Setup failed because Service MSSQLServerADHelper is disabled for the current hardware profile

    Sounds like it's a problem with the windows/user account you're using to start the SQL Agent service.

    Are you using a user account or a local system account to start the...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Alter Index... Sort_In_Tempdb On

    TheSQLGuru (1/4/2011)


    1) why in the world are you concerned about a 279MEGABYTE transaction log?? If your disk space is that tight you have some very serious issues to deal...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Full backup and still cannot shrink log file

    GilaMonster (1/4/2011)


    calvo (1/4/2011)


    Checkpoints flush buffer cache to disk. Nothing to do with truncating a log.

    Not entirely true.

    Checkpoint writes all dirty data page to disk and then, in simple recovery only,...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Full backup and still cannot shrink log file

    Checkpoints flush buffer cache to disk. Nothing to do with truncating a log.

    http://msdn.microsoft.com/en-us/library/ms188748(v=sql.90).aspx

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

  • RE: Full backup and still cannot shrink log file

    A full backup doesn't truncate the log, that's why the t-log doesn't shrink. Only a transaction log backup will truncate the log and allow shrinkage.

    A full only backs up data...

    ______________________________________________________________________________________________
    Forum posting etiquette.[/url] Get your answers faster.

Viewing 15 posts - 631 through 645 (of 687 total)