大家好,我是mysql新手
有關 auto_increment的設定想請問大家
我有個欄位已經設成int了!
要怎麼設定auto_increment呢?
我在附加裡選好執行的時候
顯示
#1075 - Incorrect table definition; there can be
only one auto column and it must be defined as a key
意思是我要設定key值才可以改嗎?
或是?
--
~*‧~‧*~*‧~‧*~*‧~*
╭╮ ○ ╭─╮╭─╮╭─╮╭╮ ○ ╭─╮ With this ring,
││ ╭╮│ ┤││││ ┤│╰╮╭╮│ ┤ I give to you my promise,
│└╮││├ ││ │├ ││ ││││ ┤ from this date forward you should
╰─╯╰╯╰─╯╰─╯╰┴╯╰┴╯╰╯╰─╯ not walk alone.
ψcrystalclear ~*‧~‧*~*‧~‧*~*‧~*
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.127.184.34