Forum Replies Created

Viewing 15 posts - 20,761 through 20,775 (of 26,484 total)

  • RE: Adding to a date from a previous row

    Rod Carter (5/27/2009)


    Lynn,

    I will do both and thank you for your feedback and help to this point. I truly do appreciate it and am not trying to be difficult....

  • RE: The Real SQL Server Experts

    Damus (5/27/2009)


    GSquared (5/26/2009)


    Damus (5/26/2009)


    I agree its a management Issue.

    some other things i would like to see:

    - real foreach loops through table rows.

    - object oriented friendly organization of stored procs and...

  • RE: Arithmetic Overflow

    arun.sas (5/26/2009)


    Lynn Pettis (5/26/2009)


    Try this:

    CAST(IL.[VAT %] AS DECIMAL(4,2)) AS 'VAT'

    hi Lynn,

    CAST(ABC AS DECIMAL(4,2)) AS 'VAT'is better,

    but the orignal datatype is Decimal(38,20),

    if the value like 99999.00000000, then again the Arithmetic...

  • RE: Swap column values

    I find the critism of a relative newbie who has taken the time to write an article showing people something they have learned a little much. It may have...

  • RE: Are the posted questions getting worse?

    OMG, you really have to be kidding here...

  • RE: Arithmetic Overflow

    Trigger (5/26/2009)


    Ok thanks that works but why? Why can't you use 2,2?

    Because DECIMAL(2,2) represents a decimal number with 2 positions, both to the right of the decimal.

    Please take some time...

  • RE: T-SQL script not quite what I want

    It would help if you would provide the DDL for the tables and views (including base tables for the views) involved in the query. Some sample data for the...

  • RE: Arithmetic Overflow

    Try this:

    CAST(IL.[VAT %] AS DECIMAL(4,2)) AS 'VAT'

  • RE: SQL High Availability Options

    First, if you haven't already spent your money on VMWare, may I suggest looking at MS Hyper-V? It is free with Windows Server 2008 and will reduce your costs....

  • RE: Adding to a date from a previous row

    Rod Carter (5/26/2009)


    Does the index have to be unique? The dataset that I am working with holds time data for a whole week for all employees across the company....

  • RE: Adding to a date from a previous row

    Allister Reid (5/26/2009)


    ?second iteration Lynn 😉

    Only if the OP provides the full requirements.

  • RE: Adding to a date from a previous row

    Rod Carter (5/26/2009)


    Does the index have to be unique? The dataset that I am working with holds time data for a whole week for all employees across the company....

  • RE: Turn off Transaction Logs for specific tables?

    Nathan Davis (5/26/2009)


    GilaMonster (5/26/2009)


    What you could try is to put the tables that you don't care about into a different database and set it to simple recovery. Doesn't stop logging,...

  • RE: Full disk

    middletree (5/26/2009)


    So if I back up the lgos regularly, it will make the logs smaller?

    In theory, yes. By running regularly scheduled transaction log backups, you will keep the size...

  • RE: Full disk

    The simplest way is to setup a maintenace plan to accomplish this for you. Look it up in Books Online, it will get you started.

Viewing 15 posts - 20,761 through 20,775 (of 26,484 total)