If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Altering the Next Serial Value command

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-28-05, 12:07
jimbomed jimbomed is offline
Registered User
 
Join Date: Jul 2005
Posts: 7
Altering the Next Serial Value command

I am trying to alter the next value of a serial column.

I have the syntax as

ALTER TABLE timecard MODIFY (tindex serial (1000))

But this is not working.

We are on informix 7 using dbaccess

Anybody have any ideas?

Thanks
Reply With Quote
  #2 (permalink)  
Old 12-28-05, 13:16
June C. Hunt June C. Hunt is offline
Registered User
 
Join Date: Feb 2005
Posts: 43
Do you want the next record to have a value of 1000 in the tindex column? Simply use 1000 during the next insert.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On