Forum Replies Created

Viewing 15 posts - 3,976 through 3,990 (of 6,679 total)

  • RE: Are the posted questions getting worse?

    Paul White NZ (3/30/2010)


    CirquedeSQLeil (3/30/2010)


    tosscrosby (3/30/2010)


    Paul White NZ (3/30/2010)


    WayneS (3/30/2010)


    Fellow Threadizens, if I can get you to check out this link about a sql login permission issue that...

  • RE: Resize Transaction Log Default Size to Less Than It's Current Size

    HowardW (3/30/2010)


    Jeffrey Williams-493691 (3/29/2010)


    SQL will then automatically create a log file in the default location of the default initial size which you can then move/resize.

    Do not do this - unless...

  • RE: Disk Space Usage

    You can query the backup table in MSDB to get the backup size. The size of the backup will show how much space was being used in the data...

  • RE: Resize Transaction Log Default Size to Less Than It's Current Size

    HowardW (3/29/2010)


    You cannot shrink a log file below the initial size it was created with.

    I believe the steps you'll need to take are:

    1) Detach the database

    2) Rename/delete the old log...

  • RE: High memory usage server

    Paul White NZ (3/28/2010)


    Jeffrey Williams-493691 (3/28/2010)


    Yes, the system will continue to take more memory as needed up to the max memory setting. If SQL Server is taking more the...

  • RE: SQL Upgrade 2000 to 2008

    Perry Whittle (3/28/2010)


    whether upgrading to SQL server 2005 or 2008, immediately after run DBCC UPDATEUSAGE and rebuild all indexes. Also run DBCC CHECKDB with DATA_PURITY to ensure your database(s) have...

  • RE: High memory usage server

    Yes, the system will continue to take more memory as needed up to the max memory setting. If SQL Server is taking more the 44GB of memory, then you...

  • RE: High Avialability Options

    It really depends upon the SAN. For one particular SAN, we were looking at mirroring the database volumes and daily performing a snap clone of the mirrored volume. ...

  • RE: Installing SQL 2008 on SQL 2005 box

    Asif-414084 (3/28/2010)


    Here's how it went:

    I installed SQL 2008 on the same box that has 2005 and SQL 2008 cannot be the default instance. The default instance is called "MSSQLSERVER" which...

  • RE: High memory usage server

    Are you on x64 hardware with SQL Server 2008 x64 version? Did you set the max memory for SQL Server to 46GB?

    If so, then yes - that is as...

  • RE: High Avialability Options

    Without knowing a lot more about how you are setup and configured, my first thought would be to investigate the capabilities of the SAN you are using.

    Each SAN has different...

  • RE: Getdate with previous date

    Paul White NZ (3/28/2010)


    Jeffrey Williams-493691 (3/28/2010)


    If you look at the calculation - it is not performing a calculation on getdate(), but rather on the results from the datediff calculation.

    So it...

  • RE: Getdate with previous date

    Paul White NZ (3/28/2010)


    Jeffrey Williams-493691 (3/28/2010)


    I don't like using a different seed date, mostly because it only works for days and I like having something that works for all.

    That code...

  • RE: Getdate with previous date

    Paul,

    If you look at the calculation - it is not performing a calculation on getdate(), but rather on the results from the datediff calculation.

    I know you disagree with using 0...

  • RE: Getdate with previous date

    Animal Magic (3/27/2010)


    i always just use left(getdate(),11). so i would just use

    select * from datestable

    where mydate between left(getdate() -1,11) and left(getdate(),11)

    This is one of the slowest methods available....

Viewing 15 posts - 3,976 through 3,990 (of 6,679 total)