Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to make one tables from two tables.
in document, employee tables have one column but this just example if I want to add 3 or more column Order tables ,How can do it?
LOAD EmpID as EmployeeID ,
EmployeeName,
Example1,
Example2,
FROM
[..\egitim\EndUser\Employee.xls]
(biff, embedded labels, table is Employees$);
LOAD OrderID,
ProductID,
Product,
CustomerID,
EmployeeID,
OrderDate,
Margin,
Sales,
Cost,
Quantity,
EmployeeName,
Example1,
Example2,
FROM
[..\egitim\EndUser\Sales.xls]
(biff, embedded labels, table is Orders$);
Thanks.
Hi,
Use Join in two table definations.
try like
Load * from table1;
Join
Load * from table2;
Regards
Question itself is not clear... !
Could you please provide some more information about your requirements?
I have two tables and I know associated these tables
LOAD EmpID as EmployeeID ,
EmployeeName,
Example1,
Example2,
FROM
[..\egitim\EndUser\Employee.xls]
(biff, embedded labels, table is Employees$);
LOAD OrderID,
ProductID,
Product,
CustomerID,
EmployeeID,
OrderDate,
Margin,
Sales,
Cost,
Quantity,
FROM
[..\egitim\EndUser\Sales.xls]
(biff, embedded labels, table is Orders$);
These tables, I want to this style ->
LOAD OrderID,
ProductID,
Product,
CustomerID,
EmployeeID,
OrderDate,
Margin,
Sales,
Cost,
Quantity,
*
EmployeeName,
Example1,
Example2,
*
;
Use joins :
try like below
Sales:
LOAD OrderID,
ProductID,
Product,
CustomerID,
EmployeeID,
OrderDate,
Margin,
Sales,
Cost,
Quantity
FROM
[..\egitim\EndUser\Sales.xls]
(biff, embedded labels, table is Orders$);
Left Join(Sales)
Emp:
LOAD EmpID as EmployeeID ,
EmployeeName
FROM
[..\egitim\EndUser\Employee.xls]
(biff, embedded labels, table is Employees$);
Hi,
Use Join in two table definations.
try like
Load * from table1;
Join
Load * from table2;
Regards
Can I use Resident Load?
Hi,
Yes You can
but why you want???
Regards
Hi,
Actually,I want to make one tables from other tables's column. For examle;
LOAD EmpID as EmployeeID ,
EmployeeName,
Example1,
Example2,
FROM
[..\egitim\EndUser\Employee.xls]
(biff, embedded labels, table is Employees$);
LOAD OrderID,
ProductID,
Product,
CustomerID,
EmployeeID,
OrderDate,
Margin,
Sales,
Cost,
Quantity,
FROM
[..\egitim\EndUser\Sales.xls]
(biff, embedded labels, table is Orders$);
New TABLE:
LOAD Product,
CustomerID,
EmployeeID,
EmployeeName,
Example1,
Example4,--other tables
I create new tables from other tables.
Thanks you for your interes
Hi,
Ok, I got you requirement.
Yes you can acheive it through Resident Load but rename the fields to avoid unwanted Key(Synthetic key)
and close the thread if issue resolved.
Regards,