Max of a column from Oracle table
Posted: Thu Apr 06, 2006 8:00 am
Hi,
My requirement is to get the Max(col1) and use this value to increment by one for each input row and create a load file, subsequently this load file used to load the table. when i use the sql using MAX on a column in ODBC stage it is giving error "Fatal error not a valid Identifier MAx(col1)"
is there any other way to get the max number and use that number to process the data?
Thanks
My requirement is to get the Max(col1) and use this value to increment by one for each input row and create a load file, subsequently this load file used to load the table. when i use the sql using MAX on a column in ODBC stage it is giving error "Fatal error not a valid Identifier MAx(col1)"
is there any other way to get the max number and use that number to process the data?
Thanks