¡¡¡¡º¹£¬½ñÌì±»Sql ServerµÄCollate×Ó¾ä´óÍæÁËÒ»°Ñ£¬¿´ÔÚÏß°ïÖú²»×Ðϸ£¡ÈÃ×Ô¼ºÈÆÁËÒ»¸ö´óȦ£¬ÒÔºó¿´MS°ïÖú¿ÉÒª×ÐϸÁË£¬ÊÂÇéÊÇÕâÑùµÄ£º
¡¡¡¡ÏÂÎ磬ÀÏ´ó¸øÎÒÃÇ·¢À´Ò»¶ÎSQL Script£¬ÒªÎÒÃDzâÊÔ£¬¿´ÓÐûÓдíÎó£¬ÈçÓУ¬ÇëÌá³ö£¡Õû¸öScriptÈ«²¿ÔÚÕâÀï!
¡¡¡¡ÎÒµ±Ê±¾Í½«Õâ¶Î½Å±¾À½øÁ˲éѯ·ÖÎöÆ÷£¬Ò»Ö´ÐУ¬ºÇºÇ£¬¸ù±¾Ã»´í°¡£¡ÄÇÀÏ´óΪʲôҪ·¢ÕâÑùµÄÓʼþ³öÀ´ÄØ£¿ÓÚÊÇÎÒÓÖÇл»Á˼¸¸ödatabase,ҲûÓÐʲôÎÊÌ⣬Õýµ±ÎÒ×¼±¸²âÊÔÍêÕâÒ»¸ödatabase¾Í·ÅÆú²âÊÔÍ˳öµÄʱºò£¬ÎÊÌâÀ´ÁË¡£´íÎóÏûÏ¢ÈçÏ£º
¡¡¡¡Server: Msg 446, Level 16, State 9, Line 61
¡¡¡¡Cannot resolve collation conflict for equal to operation.
¡¡¡¡ºÇºÇ£¬ÓÐÀ§ÄÑ£¬ÕÒ¾¯²ì£¬ÔÛÓÐÄÑ£¬¾ÍÕÒonlineÀ²¡£°´ÏÂF1,¼üÈëcollation,×îºó¶¨Î»ÖÁSee alsoÖеÄCollate,²éµ½°ïÖúÎļþÈçÏÂ(²»ºÃÒâ˼£¬ÎÒÖ»Êǽ«sql server2000 µÄÔÚÏß°ïÖúÔ´·â²»¶¯µÄ¸´ÖÆÁËһϣ¬µ±È»ÔÚÎÒµ±Ê±Ã»Óп´×ÐϸµÄÄÇÒ»¾äÎұ任ÁËÑÕÉ«£¬¸÷λÅóÓÑÒ²Çë²»Òª·¸Í¬ÑùµÄ´íÎóΪºÃ¡£ºÇºÇ)£º
¡¡¡¡COLLATE
¡¡¡¡A clause that can be applied to a database definition or a column definition to define the collation, or to a character string expression to apply a collation cast.
¡¡¡¡Syntax
¡¡¡¡COLLATE < collation_name >
¡¡¡¡< collation_name > :: =
¡¡¡¡{ Windows_collation_name } | { SQL_collation_name }
¡¡¡¡Arguments
¡¡¡¡collation_name
¡¡¡¡Is the name of the collation to be applied to the expression, column definition, or database definition. collation_name can be only a specified Windows_collation_name or a SQL_collation_name.
¡¡¡¡Windows_collation_name
¡¡¡¡Is the collation name for Windows collation. See Windows Collation Names.
¡¡¡¡SQL_collation_name
¡¡¡¡Is the collation name for a SQL collation. See SQL Collation Names.
¡¡¡¡Remarks
¡¡¡¡The COLLATE clause can be specified at several levels, including the following:
¡¡¡¡Creating or altering a database.