Francisco Morosini wrote:

> Hi, i work recently with SapDb and is fine, i work with 
> Windows and SQL
> STudio, but i dont have idea how make the relation between 
> sequence and
> tables, i see the example in
> http://help.sap.com/saphelp_46dbcdb/helpdata/en/6d/117c29d1481
> 1d2a97400a0c94
> 49261/content.htm, i can create the sequence with no troubles 
> but i dont
> know how put in the table what i want. Please any help is apreciated.
> 
> i use SQl Studio, Database Manager and ODBC with Visual Foxpro

you did not check
http://www.sapdb.org/how_tos/numbergen/howto_producenumgen_eng.htm ?

Usually a sequence is NOT connected to a specifiy table, it can be used with
<sequencename>.NEXTVAL.
If you want to connect sequence and table you have to use the special
datatype SERIAL.

Elke
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to