Sorry, I don't want to generate a number with code, there fore I can use VB.NET. The only thing I want is that when I insert a new row, the server (JET) will automatically generate a unique random number for me.
I know that I can use the IDENTITY()/COUNTER(), but then I get a sequence of numbers, I don't want that. I want random numbers (preferably 32bit).
In the environment of Microsoft Access, this is possible. But I don't know how to do with SQL, that works with the JET engine.
E.G.
CREATE TABLE customers
(
uniqueid integer COUNTER(x,y) <-- this will give a sequence of numbers.
)
I want the same sample, but with random numbers (compatible with JET engine v4).
I appreciate your answers, but it's not the right. I hope that I've written my question good.
Just 5 hours and 10 minutes to go in 2004, in advance: happy new year, I hope you can make me happy in this year
