作者LisaShie (小麻)
看板Database
标题[SQL ] MYSQL的auto_increment
时间Mon Oct 1 12:00:06 2007
大家好,我是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