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
 General SQL Server Forums
 New to SQL Server Programming
 How to enter record in a table

Author  Topic 

R.Khattri
Starting Member

1 Post

Posted - 2012-08-23 : 06:05:07
I create a table :

CREATE TABLE demo([IdentityColumn] [int] IDENTITY(1,1001) NOT NULL)

Now I want to store record in this table........how can i do this

R K

malpashaa
Constraint Violating Yak Guru

264 Posts

Posted - 2012-08-23 : 06:10:43
Try this:

INSERT INTO demo DEFAULT VALUES;




For us, there is only the trying. The rest is not our business. ~T.S. Eliot

Muhammad Al Pasha
Go to Top of Page
   

- Advertisement -