Rebol Talk Forum  |  REBOL Discussions  |  REBOL Sand Box  |  RebDB  |  Topic: create auto-number not how to insert
Pages: [1] Print
Author Topic: create auto-number not how to insert  (Read 533 times)
newbie
Guest


Email
create auto-number not how to insert
« on: April 12, 2004, 10:43:35 PM »

But how you create the datatype for your ID like

Code: db-create my-table [ID Name][integer! string!][3 12]

Is it something like that or wrong? cos if I try the next, it may have problem on it..  thank you
Logged
Ashley
Newbie
*
Offline Offline

Posts: 37


View Profile
create auto-number not how to insert
« Reply #1 on: April 20, 2004, 07:43:22 PM »

Next, added in RebDB v1.2, is just a token used in lieu of an integer! value. Try the following code to see how it works:
Code:
db-create test [id][integer!][1]
db-insert test [next]
db-insert test [next]
db-select * test
Logged
Pages: [1] Print 
Rebol Talk Forum  |  REBOL Discussions  |  REBOL Sand Box  |  RebDB  |  Topic: create auto-number not how to insert
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 17, 2008, 06:07:52 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2169 Posts in 562 Topics by 1224 Members
Latest Member: thyptoste

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc