Home » SQL & PL/SQL » SQL & PL/SQL » Creating an Auto Increment in VB
Creating an Auto Increment in VB [message #238] Thu, 31 January 2002 09:22 Go to next message
Gabriela
Messages: 1
Registered: January 2002
Junior Member
Does anyone know how I can create an auto increment for my primary key from within Visual Basic for Oracle. I am currently using webclasses and data environemnt in my VB program. I know the sql statement needed to create a sequence directly on Oracle, But I don't know how to add this code in VB to get the same function. Any and all help is greatly appreciated.
Re: Creating an Auto Increment in VB [message #246 is a reply to message #238] Thu, 31 January 2002 18:52 Go to previous message
Satish Shrikhande
Messages: 167
Registered: October 2001
Senior Member
I liked the way you asked the question , very decently , lol .

Anyway look you can take the maximum of the Primary key and then increment it by 1 , How is it ? But only ok with small sca l e application

cya
Previous Topic: IS Paralle Insert possible ??
Next Topic: Nested Tables
Goto Forum:
  


Current Time: Sat Apr 20 06:20:20 CDT 2024