1.C++程序中的数据缓存是unsigned short int(0-65535)
2.数据库为节省空间,数据表数据类型选择shortint(-32768~32767)(因为没有unsigned short int),
假如不想改程序的前提下,怎么解决矛盾,数据库中可以定义unsigned short int吗?
...全文
4267打赏收藏
数据库中没有unsigned short int,如何处理
1.C++程序中的数据缓存是unsigned short int(0-65535) 2.数据库为节省空间,数据表数据类型选择shortint(-32768~32767)(因为没有unsigned short int), 假如不想改程序的前提下,怎么解决矛盾,数据库中可以定义unsigned short int吗?