Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert defaults to other field.

Status
Not open for further replies.

hexOffender

Programmer
Nov 6, 2006
146
US
This should be so simple, but for some reason, this insert statement wont insert in the field I want it to.

insert into SchEncounterForm(ClinicForm)values('Y')

However, when I run the command, it tries to insert into the First column of the table, instead of the ClinicForm column.
 
Do you have any triggers on the table?

-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
No there aren't any triggers on this table, but on others there may be. I created this table on an already existing DB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top