Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am trying to figure out how to auto increment a column that i basically make an ID that is an integer when a new record is inserted

 

In Oracle I know you "Create Sequence ....". I tried that in the AS400 but I guess that is only a Oracle command and not standard SQL. Is there something like this on the as400 table?

Live as if you were to die tomorrow. Learn as if you were to live forever.
Gandhi
Posted
I have a table called tblTestData and have a column called TestID and when I eneter the test data I want the TestID to auto increment
Live as if you were to die tomorrow. Learn as if you were to live forever.
Gandhi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...