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
 Transact-SQL (2000)
 Identity Property Help

Author  Topic 

samamun001
Starting Member

17 Posts

Posted - 2005-09-15 : 06:22:59
Hi there,
Is It Possible

DECLARE @MaxCount int
SET @MaxCount = 100

SELECT IDENTITY(int,@MaxCount,1) AS ID,Item INTO Test FROM Source

SOURCE
======
Item
----
Chair
Table

samamun

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2005-09-15 : 07:02:20
no.
why do you want to do that?

Go with the flow & have fun! Else fight the flow
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-09-15 : 07:37:28
Only by Dynamic SQL
But creating tables dynamically is not recommended

Madhivanan

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

- Advertisement -