Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
we wanted to know that can we perform operation on fileds while loading.
example:
suppose i have a table with 3 columns like
user:
user_id user_name user_salary
anjanemp_apt anjan 20k
kumaremp_apt kumar 30k
and so on.
now i want to load user_id without "_apt"
like
user:
load purgechar(user_id,'_apt') as [user_id1],user_name.user_salary
from user
please advice,
thanks in advance.
Hi
In the script level use like this
Remove(user_id,'_apt','') as User_Id
yes, after load we can do that,
But wanted to do it at load itself , is that possible?
thanks
A transformation like Replace(user_id,'_apt','') as User_Id could be done directly within the first load.
- Marcus
Hi,
u can do it in the script level