Showing posts with label editor. Show all posts
Showing posts with label editor. Show all posts

Monday, March 12, 2012

Lookup not detecting new column on table

I have added a new column to a table, but it is not showing up in the column mapping tab of the lookup editor.

It does show up in the preview.

Without deleting and recreating the component (with all the ensuing broken metadata fixes 'downstream' that this always entails), how can I get it to recognise the change?

In future I will do all LUs as a sql statement so at least I can control columns. This again defeats the purpose of the drag and drop environment..... If it were a harry potter character, it would be a dementor

Unfortunately, Lookup does not automatically updates the reference metadata, but you can do this using Advanced UI. Right click the component, select 'Show Advanced Editor'. Click Refresh button in the lower-left corner, click OK.

Now open regular Lookup Editor, you should see the new columns.

|||My workaround was to script out the table as a select and change the type to sql stmt.

The column names were all the same so this didn't seem to break it.|||

Adolf,

More than a workaround; that is the best way of using a lookup transformation. There are several negative effects performance wise when you select the table from the list as opposed to provide a sql statement.

Lookup transformation by default uses RAM and you can reduce that impact by trimming the number of columns and rows that it uses (via query).

Lookup not detecting new column on table

I have added a new column to a table, but it is not showing up in the column mapping tab of the lookup editor.

It does show up in the preview.

Without deleting and recreating the component (with all the ensuing broken metadata fixes 'downstream' that this always entails), how can I get it to recognise the change?

In future I will do all LUs as a sql statement so at least I can control columns. This again defeats the purpose of the drag and drop environment..... If it were a harry potter character, it would be a dementor

Unfortunately, Lookup does not automatically updates the reference metadata, but you can do this using Advanced UI. Right click the component, select 'Show Advanced Editor'. Click Refresh button in the lower-left corner, click OK.

Now open regular Lookup Editor, you should see the new columns.

|||My workaround was to script out the table as a select and change the type to sql stmt.

The column names were all the same so this didn't seem to break it.|||

Adolf,

More than a workaround; that is the best way of using a lookup transformation. There are several negative effects performance wise when you select the table from the list as opposed to provide a sql statement.

Lookup transformation by default uses RAM and you can reduce that impact by trimming the number of columns and rows that it uses (via query).

Friday, March 9, 2012

looking for T-SQL Editor !

Hi,
i looking for good T-SQL editor beside QA.
thanks,Hi,
You cant get a better editor than Query Analyzer. Still for your information
you can use 3rd party tools like
1. DBArtisan
2. BMC Patrol ....
Both the above are very costly, But to connect to SQL server you need to
have SQL server client installed in the PC.
Thanks
Hari
MCDBA
"BY" <by@.yahoo.com> wrote in message
news:ezDI4nH8DHA.2524@.TK2MSFTNGP11.phx.gbl...
> Hi,
> i looking for good T-SQL editor beside QA.
> thanks,
>

looking for T-SQL Editor !

Hi,
i looking for good T-SQL editor beside QA.
thanks,Hi,
You cant get a better editor than Query Analyzer. Still for your information
you can use 3rd party tools like
1. DBArtisan
2. BMC Patrol ....
Both the above are very costly, But to connect to SQL server you need to
have SQL server client installed in the PC.
Thanks
Hari
MCDBA
"BY" <by@.yahoo.com> wrote in message
news:ezDI4nH8DHA.2524@.TK2MSFTNGP11.phx.gbl...
> Hi,
> i looking for good T-SQL editor beside QA.
> thanks,
>