Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I simply want to add a primary key to each of these distinct YearEvents:
like so:
Key YearEvent
0 2010 Comittee
1 2009 WTS
2 2012 Podium Speaker
... ...
... ...
101 2012 WTS
I know I can do this with a for loop but I feel like there is a much easier way to accomplish this. I feel like I'm brainfarting on this, either way, any help would be greatly appreciated.
how about adding 'rowno() as id' as a column in your script?
did you check the autonumber()?
how about adding 'rowno() as id' as a column in your script?
Can you try with:
LOAD
RecNo(),
YearEvent
from FILE;
You can use also RecNo()
And RowNo()