November 28, 2005 at 11:14 pm
Hi frens,
Can anyone help me to find the solution to have auto-incremented column with least complexity in myTable. New record inserted is to have unique ID in column MyCol datatype bigint. Using trigger, or computed column, or whatever...
I know you guys can effortlessly solve this problem.
Thanks in advance,
Chhana
November 28, 2005 at 11:39 pm
CREATE TABLE myTable
(
myCol BIGINT IDENTITY(1,1),
Col1....
.... other column data
....
)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2005 at 3:20 am
thanks. even a simple query can help a blind man. ASCII stupid question, getting useful ANSI. It works perfectly.
Thanks
chhana
November 30, 2005 at 2:17 am
You bet, Chhana. Simple is good. Thank you for the feed back.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply