Forum Replies Created

Viewing 15 posts - 2,701 through 2,715 (of 5,590 total)

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (10/27/2010)


    Ahhhhhhhhhh, overwhelmed already.

    I'll try to look through here and do a short post in a bit capping off who might have what.

    In an effort...

  • RE: get the first Sunday and last Saturday

    SwePeso (10/27/2010)


    Keep it simple and avoid any reference to SET DATEFIRST!

    DECLARE@Year SMALLINT = 2011

    ;WITH cteCalendar(FirstOfMonth, LastOfMonth)

    AS (

    SELECTDATEADD(MONTH, 12 * @Year + number - 22801, 6) AS FirstOfMonth,

    DATEADD(MONTH, 12 * @Year...

  • RE: Are the posted questions getting worse?

    ALZDBA (10/27/2010)


    how about :

    - Anger management 101

    The 100 classes haven't been helping... I think I need the 200 classes now. :w00t:

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (10/27/2010)


    I'll drop some topics out here for you. Here's a couple that I have saved up:

    - Finding/changing the default backup location

    - scheduling a trace

    - duplicating...

  • RE: How to have an Excel destination have dynamic column names?

    Brandie, if I'm understand you correctly, you are saying to dynamically set the file name.

    This part is fine... what I need is that columns associated with both the source SQL...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (10/27/2010)


    WayneS (10/27/2010)


    Questions about this in general:

    1. How do we "submit" these "articles"?

    Look in the upper left hand sidebar. "Write For Us" has all the details. You'll have to...

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (10/27/2010)


    I'll drop some topics out here for you. Here's a couple that I have saved up:

    - Finding/changing the default backup location

    - scheduling a trace

    - duplicating...

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (10/27/2010)


    BTW, speaking of technical stuff....

    I wonder if any of you would be interested in writing to fill holes? I keep finding posts here, and elsewhere...

  • RE: Are the posted questions getting worse?

    GSquared (10/27/2010)


    WayneS (10/27/2010)


    GSquared (10/27/2010)


    WayneS (10/26/2010)


    Gus,

    Since you seem to know SSIS pretty well, I have a question for you. Is there a way to have a query that generates dynamic columns...

  • RE: Are the posted questions getting worse?

    GilaMonster (10/26/2010)


    Trey Staker (10/26/2010)


    @Gail, how's that difficult contract going?

    Difficultly.

    Officially going to prod on Friday.

    And how long after Friday do you think it will take for everything to be working...

  • RE: get the first Sunday and last Saturday

    Gianluca's solution is missing one minor, easily overlook thing. Easily fixed with four lines of code:

    -- at the top of the code

    DECLARE @OldDateFirst tinyint;

    SET @OldDateFirst = @@DateFirst;

    SET DATEFIRST 7;

    -- put...

  • RE: date issue

    It sounds to me that what you want is a NULL. If so, just leave it undefined.

    Or, if the value is being passed in:

    declare @to_date datetime;

    set @to_date= NullIF(' ', '...

  • RE: Are the posted questions getting worse?

    GSquared (10/27/2010)


    WayneS (10/26/2010)


    Gus,

    Since you seem to know SSIS pretty well, I have a question for you. Is there a way to have a query that generates dynamic columns exported to...

  • RE: Convert ASCII strings to the number value groups?

    Does this help you out?

    declare @str varchar(8000);

    set @str = 'qothobnslfdnoweavnivmnqpwf';

    ;WITH

    TENS (N) AS (SELECT 0 UNION ALL SELECT 0 UNION ALL SELECT 0 UNION ALL

    ...

  • RE: Convert ASCII strings to the integer groups of numbers?

    Cross-posted. Please post all responses here.

Viewing 15 posts - 2,701 through 2,715 (of 5,590 total)