Forum Replies Created

Viewing 15 posts - 916 through 930 (of 1,241 total)

  • RE: export table

    Better yet, don't use commas for delimiters. Use TABs instead. The folks on the receiving end of the data will love you for it.

    Agreed, if you have not...

    ----------------------------------------------------

  • RE: export table

    Following up on the BCP suggestion this is actually a good idea >

    Open a command line window and type something like

    bcp "adventureWorks2008R2.Person.address" out "c:\myBcpOut.txt" -c -T

    If...

    ----------------------------------------------------

  • RE: Slowly Changing dimension inside a ForEach Loop container<!-- 864 --><!-- 864 -->

    For example, for a particular employee there might be 141 records in this "huge dumping table" but when I perform the SCD, only 14 records make it to the DW...

    ----------------------------------------------------

  • RE: SQL Server US Contracting Rates<!-- 864 --><!-- 864 -->

    Brandie Tarvin (8/21/2014)


    MMartin1 (8/20/2014)


    This applies to things like buying a car as well. Good luck.

    Except when buying a car, I have no intention of offering the highest possible price first....

    ----------------------------------------------------

  • RE: export table<!-- 864 -->

    These are not the best ways likely, but a couple of ideas I have are:

    1) Use SSIS and a script component with a dataflow to add text qualifiers...

    ----------------------------------------------------

  • RE: Add a total column<!-- 864 -->

    Brandie Tarvin (8/18/2014)


    M Joomun (8/18/2014)


    Hello both,

    Thanks for your replies.

    As to the table schema, tblPerson - tblManagementOfBleeding is a 1 ~ 1. I've attached screenshots which give more detail. Do you...

    ----------------------------------------------------

  • RE: Slowly Changing dimension inside a ForEach Loop container<!-- 864 -->

    There is a small piece in one of my books about this. I'll do some reading and get back to you tomorrow likely. The SCD transform is process intensive because...

    ----------------------------------------------------

  • RE: SQL Server US Contracting Rates<!-- 864 -->

    Salary.com has some good information that will give you an indication of where the salaries are in your area. So it is a start.

    You can mention what you think...

    ----------------------------------------------------

  • RE: Slowly Changing dimension inside a ForEach Loop container<!-- 864 -->

    Hi Romina,

    Are you still using the looping? I don't think that will help. Just use a SCD transform and select it as a 'Historical Attribute' for the change type property...

    ----------------------------------------------------

  • RE: Need help to checking data, and update column

    One of the things a ETL developer will invariably encounter is data that is not trustworthy. And though we can argue that it should be (It should be!), it still...

    ----------------------------------------------------

  • RE: deleting duplicate records from a table

    Something like this ?

    WITH myCTE

    AS (

    SELECT row_number() over (partition by EmployeeID, Firstname,Salary

    ORDER BY EmployeeID, FirstName, Salart ) as Colm1,*

    from Employee_salary

    )

    DELETE From myCTE where Colm1> 1

    ----------------------------------------------------

  • RE: Run/Execute SSIS package before deploying it

    If you are concerned about how it will run in a job, you can deploy it to a test machine with the job service running under the same credentials ...security...

    ----------------------------------------------------

  • RE: SQL PIVOT Functions

    Hi,

    Since I don't have sample data to work with I took the AdventurWorks database as my foundation. I am not totally clear how your data looks like but below is...

    ----------------------------------------------------

  • RE: Slowly Changing dimension inside a ForEach Loop container

    I understood you are loading the records from another system. Why not stage the records locally (on your local server) and perform your needed operations there while moving from the...

    ----------------------------------------------------

  • RE: One SP, several datasets, SP gets aexecuted several times

    One thing that you might try, call the procedure to populate all the rows and have the user do the slicing and dicing in Excel using a pivot table. This...

    ----------------------------------------------------

Viewing 15 posts - 916 through 930 (of 1,241 total)