¨Ï¥ÎªÌ¦b¸ê®Æ®w¤¤¾Ö¦³µ²ºc´yz¡AµLªk§R°£ | |
«Ü§Öªº¡A´N¹J¨ì«Oô³¯zªº²Ä¤GºØª¬ªp¡A
µLªk§R°£¸ê®Æ®w¨Ï¥ÎªÌ¡A¦]¬°¦¹¨Ï¥ÎªÌ¦b¸ê®Æ®w¤¤¾Ö¦³µ²ºc´yz¡A©Ò¥HµLªk§R°£¡C
¥H«ü¥O¬d¸ß©Î¨ì¸Ó¸ê®Æ®w¡÷¦w¥þ©Ê¡÷µ²ºc´yz¬d¬Ý¡A³£¥i¬Ý¨ì¦¹¦Ûqªºµ²ºc´yz¡C
«ü¥O¬d¸ß
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA
SSMSÀ˵ø¬d¬Ý
ÁöµM»¡§Ú̪¾¹D³o¬O¦]¬°±ý§R°£ªº¨Ï¥ÎªÌ±b¸¹¡§¾Ö¦³¡¨¤F¦Ûqªºµ²ºc´yz¡A¾ÉP¦¹¨Ï¥ÎªÌµLªk§R°£¡A
¦ýYnª½±µ§R°£¦¹¦Ûqªºµ²ºc´yz¡A«h¤S·|¥X²{¦³ª«¥ó¦b°Ñ¦Ò¥¦¡A¦ÓµLªk§R°£µ²ºc´yzªº¿ù»~¡F¿ù»~½X3729¡C
¦]¦¹§ÚÌ¥²»Ý¥ý¬d¥X¦³þ¨Çª«¥ó°Ñ¦Ò¨ì¦¹µ²ºc´yz¡A
´_쪫¥óªº°Ñ¦Òµ²ºc´yz¬°dbo«á¡A¤~¯à§R°£¦Ûqªºµ²ºc´yz¡AµM«á§R°£¨Ï¥ÎªÌ±b¸¹¡C
¨s³º¦³þ¨Çª«¥ó¦b°Ñ¦Ò¦¹µ²ºc´yz¡H¥i¥Î¦p¤U«ü¥O¨Ó¬d¥X¡C
SELECT schema_name(uid) as SCHEMA_NAME, * FROM sysobjects WHERE schema_name(uid) = '¦Ûqªºµ²ºc´yz¦WºÙ'
¬d¥X°Ñ¦Òªºª«¥ó«á¡A³z¹L¥H¤U«ü¥O§â³o¨Çª«¥óªº°Ñ¦Òµ²ºc´yz§ï¦^dbo¡A
´N¥i¥H§R°£¦¹¦Ûqªºµ²ºc´yz¡A³Ì«á¦A¨Ó§R°£¨Ï¥ÎªÌ¡C
ALTER SCHEMA dbo TRANSFER ¦Ûqªºµ²ºc´yz¦WºÙ.ª«¥ó
¥H¦^´_ª«¥ó v_discount_attachments_counts ¬°¨Ò¡A»yªk¦p¤U
ALTER SCHEMA dbo TRANSFER crmctcsa.v_discount_attachments_counts
§â©Ò¦³ª«¥óªº°Ñ¦Òµ²ºc¦^´_¬°dbo¡A¦Ûqªºµ²ºc´yz¤£¦A¦³ª«¥óÃöÁp«á¡A
´N¥i¥H¦¨¥\§R°£¦Ûqªºµ²ºc´yz¡A¦A¶i¤@¨B§â¨Ï¥ÎªÌ±b¸¹§R°£¡C
¸U¤@§â°Ñ¦Òµ²ºc´yz§ï¬°dbo®É¡A¥X²{°T®§15530¡Aª«¥ó¤w¦s¦bªº¿ù»~¡A¸Ó«ç»ò¿ì©O¡H
³oºØ±¡ªp¬O¦]¬°¸Óª«¥ó¤w¦³dboªºµ²ºc´yz¡A
©Ò¥H¦A§â¦¹¦Ûqªºµ²ºc´yzÂ൹dbo®É¡A´N·|¥X²{ª«¥ó¤w¦s¦bªº«Âпù»~¡I
¨º¸Ó«ç»ò¿ì©O¡H
º¥ýn½T©wªº¬O¡A¬°¤°»ò¦³³oÓ¦Ûqªºµ²ºc´yz¡H
³oÓ¦Ûqªºµ²ºc´yz¬O§_¯u¦³¨ä¦s¦bªº¥²n¡H¡H
¦pªG¥¦ªº¦s¦b½T¦³¨ä¥Øªº¡A
¬°¤F§R°£¨Ï¥ÎªÌ¡A¦Ó«_µM§R°£¦¹µ²ºc´yz¹ê¬°¤£´¼¤§Á|¡I
¦pªG½T©w¦¹µ²ºc´yz¨S¦³«n©Ê¡A
¨º»ò¥i¥H¦Ò¼{§â¦¹µ²ºc´yzªºowner§ï¬°dbo¡A¨Ò¦p¥»¨Òªºµ²ºc´yzcrmctcsa¡C
ALTER AUTHORIZATION ON SCHEMA::[crmctcsa] TO [dbo]
¦Ûqªºµ²ºc´yz¤£¦A¸jµÛ³oÓn§R°£ªº¨Ï¥ÎªÌ¤F¡A
³oӨϥΪ̴N¥i¥H§R°£¤F¡ã
♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã
If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!
|