Load data from In memory(Table Variable) table in SSIS

  • Hi All,

    I am using first time In memory table concept in SSIS package.

    my requirement is as below

    1-I am loading data from source to target.

    my source is flat file.

    I want to load the flat file data into in memory table(table variable @test-2 table) and then load data from memory table to target sql table.

    Kindly help me to understand, can we used table variable in OLED Destination .

  • Are you referring to this type of table variable?

    The older type of table variable is not in-memory. Nor is it good for holding large quantities of data.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

  • Yes, and furthermore, a table variable only lives for the duration of the batch in which it is created, so you may find it difficult, if not impossible, to use in an ETL. Try using a temp table (#table) instead (beware also: this only accessible to, and lives for the duration of, the the connection in which it was created), a global temp table (##table) or (my preference) a staging table instead.

    John

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply