Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Dought in create table

Author  Topic 

iswan
Starting Member

28 Posts

Posted - 2007-08-12 : 23:24:20

I want to create the table like the below one. Rowid should be auto generate

Rowid EName
Emp001 John
Emp002 Jack
Emp003 Sam


Regards
Iswan

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-08-13 : 00:34:43
see http://www.sqlteam.com/article/custom-auto-generated-sequences-with-sql-server


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

iswan
Starting Member

28 Posts

Posted - 2007-08-13 : 01:49:41
Thanks Khtan
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-08-13 : 02:12:26
Also
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=57069

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -