Luca, Can you please provide a snippet to convert string to number
Regards On Friday, July 6, 2012 11:38:13 PM UTC+5:30, Lvc@ wrote: > > Hi, > automatic update of data is not yet supported for most of the types. I > suggest you to: > > orientdb> drop property Session.id > > orientdb> update Session set newid = id.asString() > orientdb> update Session remove id > orientdb> update Session set id = newid > orientdb> update Session remove newid > > orientdb> create property Session.id string > > Lvc@ > > On 6 July 2012 20:00, Yanxin <[email protected] <javascript:>> wrote: > >> I want to change the property type from INTEGER to STRING >> >> I got following error >> >> orientdb> alter property Session.id TYPE STRING >> >> Error: >> com.orientechnologies.orient.core.exception.OCommandExecutionException: >> Error on execution of command: OCommandSQL [text=alter property Session.id >> TYPE STRING] >> Error: java.lang.IllegalArgumentException: Cannot change property type >> from INTEGER to STRING >> >> > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
