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 2005 Forums
 Transact-SQL (2005)
 row increment

Author  Topic 

amaithani
Starting Member

2 Posts

Posted - 2008-06-12 : 08:12:55
1. I have a table lets say ABC in which the datatype of one of the column lets say MNO is int identity.
3. Inserted some records into this table . the values in the column MNO are from 1 till 20
2. i want insert more records into this table ABC
How do i do this. can any body help me out.

Thanks in advance

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-06-12 : 08:15:04
Do another insert.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-06-12 : 09:17:20
Didnt understand what your problem is. Are you trying to insert data explicitly to identity column? If thats your problem use
SET IDENTITY_INSERT ABC ON

--Your insert here

SET IDENTITY_INSERT ABC OFF
Go to Top of Page
   

- Advertisement -