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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wrong data inserted

Status
Not open for further replies.

12345s

Programmer
Dec 9, 2002
3
AT
hi, i've got following problem:

if i insert a datarow into one of my tables, everything works well. (no errors) but when i select this row, the wrong data has been inserted into my primary key field.

insert into my_table (prim, a, b) values ('1234','a1','b1');
OK
select * from my_table;
prim =3627
a = a1
b = b1

any idea whats wrong here?

thanks jo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top