|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
闪回的目的是要让数据库在commit之后,还能恢复到之前的某个状态,整库或指定的表。server|中文|中文乱码runsp_help"yourtable"togetthecollationsettingforthecolumn.Inordertostorechinesecorrectly,youshouldsetthecollationbe:
Chinese_PRC_CI_AS
orChinese_Stoke_CI_AS
char/varchardatatypeisANSIcharwhichmustdefineacodepage.IfyousetthecollationbeSQL_Latin1_General_CP_CI_AS,itcanonlystorelatincharacters.Inordertostorechinesecharacterinacharcolumn,youhavetosetthecollationbeChinese_PRC_CI_ASorChinese_Stoke_CI_ASwhichhasachinesecodepagedefined.
nchar/nvarcharcollumnisdifferent,youcanstoreanyUnicodecharacterincludeenlish,chinese,japaneseinonecolumn.
Intermofinputchinesecharacter,thecharacterconstantwillusedatabasescollation.Thus,ifthedatabasescollationisnotchinesecollation,thereisnowaytoinputchinesechar/varchardata,suchas
中文willbetreatedas??.Butfornvarchar/ncar,youcaninputit
onanycollation.suchasN中文willbetreatedastwounicodechars
提供用于管理、检查、优化数据库操作的管理工具。 |
|