Forum Replies Created

Viewing 15 posts - 316 through 330 (of 526 total)

  • RE: Moving tables between filegroups

    Okay, to give you an idea of what I'm dealing with. I used the EM to script out all tables, indexes, views and...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Can anyone explain this?

    I wonder if you cast it instead of converted it would it have worked?

    Because cast is implicit conversion, convert is both implicit/explicit.

    Just a...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Newbie cannot find the MDF and LDF file he has just copied over

    You would need to attach them as a new database and the use the DTS (Data Transformation Service) to copy Tables/data between the existing database and the new database.

    After the...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Can anyone explain this?

    Try

    CONVERT(smalldatetime, 
    CAST(vg.CalYearID AS VARCHAR(4)) + '-' + 
    RIGHT('0' + CAST(r.BGCancellationMonthID AS VARCHAR(2)),2) + '-' + 
    RIGHT('0' + cast(r.BGCancellationDayID AS VARCHAR(2)),2) 
    + ' 00:00')

    Or possibly:

    CONVERT(smalldatetime, 
    CAST(vg.CalYearID AS VARCHAR(4)) + '-' +...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Database Create Date after restore.

    True. Just that when you look at the EM Restore - it's a bear to skip a full. And as Steve Jones pointed out in The Value of...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Database Create Date after restore.

    I meant it in reference to recovery of the production database. My normal backup time for the DB is at 7:30PM for it to be out there for the nightly...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Complete SQL Server Recovery from Scratch - repost

    I haven't found a SQL Server Backup Agent (or Oracle for that matter) that I would trust to backup my dog's poo-poo.

    And bare metal restores (especially in a DataCenter environment)...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Moving tables between filegroups

    Great,

    But does anyone have the suggestions of a script? And what do you do about tables with no indexes?

    I know the standard is that every table should have an index,...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Moving tables between filegroups

    Would that actually move the tables? Or just because the indexes aren't updatable?

    This isn't a homegrown DB and there are over 700 tables. I don't want to try play with...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Database Create Date after restore.

    :madSmacking my forehead) Actually, I appreciate the offer....but I just came up with a quicker idea. Just...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Database Create Date after restore.

    The backup name changes (ie with a date/time stamp).

    That's the problem. I cheat and just use the maint plan wizard to do the backups. I found the answer.



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Licensing Test Servers

    As our companies understanding is.....

    If the box is not to be used in production you do not need to license it.

    Also you can have a disaster recovery box set up...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

  • RE: Get current record value before nad after update trigger?

    I think he is looking for the keywords.....

    It is buried in the BOL CREATE TRIGGER as

    deleted and inserted are logical (conceptual)
    tables. They are structurally...



    ----------------
    Jim P.

    A little bit of this and a little byte of that can cause bloatware.

Viewing 15 posts - 316 through 330 (of 526 total)