Forum Replies Created

Viewing 15 posts - 20,581 through 20,595 (of 26,490 total)

  • RE: Index fragmentation

    My I suggest that you rerun that last query and put the data into an Excel spreadsheet and attach that? I can't tell which values belong to header, and...

  • RE: Circular logging a T-Log

    Look up maintenance plans in BOL. That is a good place to start.

  • RE: Circular logging a T-Log

    rsaylors (6/5/2009)


    Thanks for the replys, I have been going into SQL Studio management and backing up the database and then shrinking it, I have been having to do this once...

  • RE: Datetime

    GSquared (6/5/2009)


    declare @Test datetime;

    --

    select @Test = '6/5/09 1:12 pm';

    --

    select dateadd(hour, datediff(hour, 0, @Test), 0);

    You can use that dateadd(datediff()) method for taking any part of a datetime off. Works very...

  • RE: Datetime

    This one is simple:

    declare @ThisDate datetime;

    set @ThisDate = getdate();

    select @ThisDate, dateadd(hh, datediff(hh, 0, @ThisDate), 0)

  • RE: How to toogle datas according to an attribute

    Here is my suggestion at this point, take the code you have been provided, and see if you can make the necessary changes to meet your new requirements. If...

  • RE: How to toogle datas according to an attribute

    Not really sure how this is going to help you, but based on what you posted, here is an answer as an attachment. Again, I seem to be having...

  • RE: Are the posted questions getting worse?

    Bob Hovious (6/5/2009)


    A bit of humor for those of you who own dice with more than six sides.

    http://xkcd.com/%5B/url%5D

    That is a good one! Thanks for the laugh on slow Friday!...

  • RE: Misconception or not doing right?

    usman.tanveer (6/5/2009)


    GilaMonster (6/4/2009)The only operations that truncate a log file are:

    Log backups (in full/bulk-logged)

    Checkpoint (in Simple)

    does that mean, it is not possible to break the Log sequence as...

  • RE: How To Use AWE?

    You don't need to use AWE in the x64 OS/SQL Server environment. You do need to be sure set the maximum amount of memory that SQL Server will use.

  • RE: Insert query question

    Unfortunately anything we might say is simply guess work. You haven't provided us with the DDL for the table (including any indexes if defined), the insert statements you are...

  • RE: Circular logging a T-Log

    Sounds like your database is using the full recovery model but you aren't doing any transaction log backups. What is your currnet backup strategy?

  • RE: A great site like this - but for ORACLE.

    You could also give sswug.org a try, if you want to pay for membership. They seem to try and cover everything, not just MS SQL Server. They have...

  • RE: CTE definition 2008

    Well, you actually have several problems. One, no select, insert, update, or delete using the CTE. Second, you have a group by query in the CTE with no...

  • RE: CTE definition 2008

    What error? You didn't post the error.

Viewing 15 posts - 20,581 through 20,595 (of 26,490 total)