How to update integer primary key adding 1000? – dba.stackexchange.com 12:03 Posted by Unknown No Comments I have the following primary keys in my table: 1,2,3,4,5... Is it possible to update these keys to: 1001,1002,1003,1004,1005... ? UPDATE mytable SET `id`= (select `id` from mytable where id=??)+1000 from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitHow can I organize absurd monster sheets? – rpg.stackexchange.comWhat does [ὀλίγου] ἐμαυτοῦ ἐπελαθόμην actually MEAN? – latin.stackexchange.comCan neutrinos "hit" electrons? – physics.stackexchange.comWhy won't Mathematica display an answer? – mathematica.stackexchange.comCan one embed two division rings in a common one? – mathoverflow.netCan you please identify these time travellers? – scifi.stackexchange.com
0 Comment to "How to update integer primary key adding 1000? – dba.stackexchange.com"
Post a Comment