Link to home
Start Free TrialLog in
Avatar of LJG
LJG

asked on

Existing Table - Column id --> Primary Key - Want to add value -->0

I have an existing table with CrewID as the Primary Key.  I want to add a crew (<-- Unknown Crew -->) with a CrewID = 0.

Any help is greatly appreciated
LJG
Avatar of Kevin Cross
Kevin Cross
Flag of United States of America image

You mean you want to explicitly set the ID. Is it an IDENTITY column?
ASKER CERTIFIED SOLUTION
Avatar of stalhw
stalhw

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LJG
LJG

ASKER

Stalhw
Thanks so much - it solved my problem.  

(FYI: Works perfect - but by the way I had to use identity_Insert with an underline between the two words)
oh yeah sorry forgot the _