Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

AutoNumber for Bundle load

Hi All,

We have a table, where we have the column where the image path and other two description columns are present.

When I try to bundle load, I have to provide one unique Id, so that it will get associated to image and same can be used for bundle load.

How we can create the same, I tried to use the 'autonumber' function, but it throws an error saying -

"function autonumber(character varying) does not exist"

Can you please assist me on same.

Thanks & Regards,

MK

1 Solution

Accepted Solutions
Gysbert_Wassenaar

If you want to bundle load images then the table can have only two columns. So only and ID column and an image path. Other description columns can not be loaded in the same load statement. You'll need to store that data in another table with the ID column.


talk is cheap, supply exceeds demand

View solution in original post

10 Replies
Anonymous
Not applicable
Author

Try use

LOAD RowNo() as num

Gysbert_Wassenaar

If you want to bundle load images then the table can have only two columns. So only and ID column and an image path. Other description columns can not be loaded in the same load statement. You'll need to store that data in another table with the ID column.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Thanks gysbert,

I am doing in same way....

but to have association between bundle load image and the description column, I will need associating column.

How can I add it.

Gysbert_Wassenaar

Ok, let's try that again:

You'll need to store that data in another table with the ID column.

Clearer now?


talk is cheap, supply exceeds demand
Not applicable
Author

Hi mrudul,

Can you send the sample file. so that we can understand underline fields and data.

Thanks,

AR UMAMAHESH

Anonymous
Not applicable
Author

nope.

sorry to ask you for so many times...

but what do mean by ID...?

Not applicable
Author

gysbert intention is to create key columns in bothe tables. am i correct  gysbert.

Gysbert_Wassenaar

Any column that can uniquely identify a record and the image.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

There are only 3 columns.

2 description and 1 image path column.

Can we generate the 3rd column.