Forum Replies Created

Viewing 15 posts - 3,886 through 3,900 (of 7,164 total)

  • RE: Importing Unstructured Flat File Data with Header, Detail and Trailer

    Jeff Moden (6/4/2012)


    opc.three (6/3/2012)


    BTW... didn't need to do anything additional in the T-SQL for handling the ragged right nature of the file. 😉

    You ought to put that one in...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Importing Unstructured Flat File Data with Header, Detail and Trailer

    Jeff Moden (6/3/2012)


    opc.three (6/3/2012)


    It is your lucky day rka 😉

    Jeff, I have attached a sample package that does what I outlined in the pseudocode above. It is done in...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: creating pivot tbl

    You can go away from using PIVOT and use a traditional crosstab. This should help clear things up. There is a link to part 1 for static data as well:

    Cross...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: optimize views

    Assuming you mean a regular view and not an indexed view you would optimize the underlying query. A view (regular) is not able to be optimized in and of itself.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SSRS Testing?

    Ideally you and your testing team would have access to the same source control repository. Using some of the features built into TFS for example, you could leverage Labels or...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SQL Server 2008 : Replication depending on bandwidth

    You could look into merge replication or transactional replication with a pull subscription. With those two methods you can control when replication runs. You would need to setup some type...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: creating pivot tbl

    I would be happy to help if you provide DDL in the form of a CREATE TABLE statement, sample data in the form of INSERT statements and your expected results.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Advice on learning vb.net script

    RBarryYoung (6/3/2012)


    Jeff Moden (6/2/2012)


    RBarryYoung (6/2/2012)


    Jeff Moden (6/2/2012)


    Thomas Stringer (6/2/2012)


    SQLCLR is also a wise choice for complex string manipulation

    I'll say "IT DEPENDS". Let's have a race. You write a...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Importing Unstructured Flat File Data with Header, Detail and Trailer

    I hope that addresses all the requirements. A package like this takes about 30 minutes to develop for a simple flat file and I only bother the database engine when...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Importing Unstructured Flat File Data with Header, Detail and Trailer

    Jeff Moden (6/2/2012)


    opc.three (6/2/2012)


    For the record what the OP wants to do can be done without the use of any custom Script Tasks or Script Components, i.e. using only in-the-box...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Advice on learning vb.net script

    Thomas Stringer (6/2/2012)


    SQLCLR is an excellent tool, and there are just some things that can't be accomplished with pure T-SQL. Mostly the Windows environment, and aspects outside of the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Importing Unstructured Flat File Data with Header, Detail and Trailer

    For the record what the OP wants to do can be done without the use of any custom Script Tasks or Script Components, i.e. using only in-the-box SSIS objects.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Partition alignment with non windows storage

    Perry Whittle (6/1/2012)


    opc.three (6/1/2012)


    IIRC Server 2008 uses an offset of 1024KB as a default when provisioning a new disk

    Yes it does it's a sort of one size fits all, default...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Partition alignment with non windows storage

    I just did this type of research recently to validate some storage that was recently presented to one of my servers. IIRC Server 2008 uses an offset of 1024KB as...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Advice on learning vb.net script

    Lynn Pettis (6/1/2012)


    opc.three (6/1/2012)


    Lynn Pettis (6/1/2012)


    opc.three (6/1/2012)


    Lynn Pettis (6/1/2012)


    opc.three (6/1/2012)


    Nothing against VB.net (I used to develop lots of VB6 and learned VB.net before I learned C#) but C# has earned...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 3,886 through 3,900 (of 7,164 total)