nu te cred, insert into tabelamea (camp2, camp3) values (val2, val3)
campul 1 cu indexul se incrementeaza automat. ----- Original Message ----- From: "Razvan Cosma" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 4:12 PM Subject: [rlug] Re: mysql insert (newbie e putin spus) > nu, problema era ca primul field este index si eu vreu sa pun un row > intre inecsii 8 si 9 asteptind sa creasca corespunzator. s-ar parea ca > manualul de sql are alta parere :) > On Wed, 2002-02-06 at 16:03, Mihai RUSU wrote: > > daca ai sa zicem 3 campuri numite camp1, camp2, camp3 cu camp2 si camp3 > > autoincrement nu e mai simplu, scurt si usor de scris: > > > > INSERT INTO tabelamea (camp1) VALUES (valoarecamp1) ? > > > > ---------------------------- > > Mihai RUSU > > "... and what if this is as good as it gets ?" > > > > --- > > Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to > > unsubscribe from this list. > > > > > > > > --- > Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to > unsubscribe from this list. > --- Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to unsubscribe from this list.
