I would like to create a table months with one column mth_id having the values 1326 to 1350 with increments of one . How do i write it with a code. Sure i can use insert 25 times but i dont want to do that >.<
months
mth_id
1326
1327
.
.
.
1350
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
in oracle, there is what we call
Sequences (Autonumber). Its syntax isRead here for more details