Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Load
zone as zone1,
Year,
(Year & '-' & zone1) as PriKey
SQL Select ............
hi nick,
try the following in your script
Load *, Year & '-' & zone1 as PriKey;
Load
zone as zone1,
Year
SQL Select ............ <div></div><div>thanks</div>
erm... i'm afraid i can't.
I actualy did some data manipulation by if statement for zone1, so i can't use *
But thanks for the suggestion.
Hello Nick,
Indeed the field doesn't exists (yet). Youi are renaming the field so the field would be actually renamed once the table has been loaded. Thus, your code might look like
Note I'm referring to the field as it is coming from the sql sentence.Load zone as zone1, Year, (Year & '-' & zone) as PriKey)
Regards.