Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Apply Union for creating dataset for csv files
Migrateduser
Let say I can create the dataset by joining two result set as shown below :
select CLASSICMODELS.CUSTOMERS.CUSTOMERNUMBER
,CLASSICMODELS.CUSTOMERS.CUSTOMERNAME
from CLASSICMODELS.CUSTOMERS
where CLASSICMODELS.CUSTOMERS.CUSTOMERNUMBER = 103
union
select CLASSICMODELS.CUSTOMERS.CUSTOMERNUMBER
,CLASSICMODELS.CUSTOMERS.CUSTOMERNAME
from CLASSICMODELS.CUSTOMERS
where CLASSICMODELS.CUSTOMERS.CUSTOMERNUMBER = 112
But when I am doing similar stuff with csv files having same schema, I am getting error.
"select FnName from guptas_VirNote_1_20120424210321_report_6_11.csv
union select FnName from guptas_VirNote_1_20120424210321_report_6_1.csv "
the csv file FnName as first column and first row of csv file Name contains the column Name.
How can I create data set by joining two csv data ? Appreciate your help .
Rajan
Find more posts tagged with
Comments
There are no comments yet