Hi all,
I am using CR9 and ODBC to pull data from 2 datasource (sql and sybase). I am pulling a weekly report for sales per agent per day. This table is on sybase.
The data looks like
Table A
Date Agent Sales
03/01 Mark F 210$
03/02 Mark F 570$
.....
03/07 Mark F 1200$
03/01 Tony S 320
03/02 Tony S 430
.....
Now I would like to link this table to another table (Table B) on the SQL that has a mapping ID for the agent.
Agent mapping_id
Mark F S0001
Tony S S0002
The Final report will be a list of all records on Table B
(Agent mapping_id) + Whatever Sales they made from table A...
In other words MARK F will appear 7 times from 03/01 to 03/07 whether he made a sale on these days or not..
When linking Table A to B ..I tried to select right outer but was dim
Any thoughts how this can be accomplished will be great..
Back2tek
I am using CR9 and ODBC to pull data from 2 datasource (sql and sybase). I am pulling a weekly report for sales per agent per day. This table is on sybase.
The data looks like
Table A
Date Agent Sales
03/01 Mark F 210$
03/02 Mark F 570$
.....
03/07 Mark F 1200$
03/01 Tony S 320
03/02 Tony S 430
.....
Now I would like to link this table to another table (Table B) on the SQL that has a mapping ID for the agent.
Agent mapping_id
Mark F S0001
Tony S S0002
The Final report will be a list of all records on Table B
(Agent mapping_id) + Whatever Sales they made from table A...
In other words MARK F will appear 7 times from 03/01 to 03/07 whether he made a sale on these days or not..
When linking Table A to B ..I tried to select right outer but was dim
Any thoughts how this can be accomplished will be great..
Back2tek