Diff for "MSSqlWorkBook" | UserPreferences |
sp_rename 'customers.contacttitle', 'title', 'COLUMN' ; Ä÷³ À̸§ º¯°æ
autostart ÇÁ·Î½ÃÀú°¡ ÀÚµ¿À¸·Î ½ÃÀ۵ǵµ·Ï ±¸¼º(dbo ¼ÒÀ¯À̸ç master db¿¡ ÀÖ¾î¾ß ÇÔ) ;
sp_procoption
@procname = autostart,
@optioname = startup,
@optionvalue = true
OBJECTPROPERTY ÇÔ¼öÀÇ execisstartup ¼Ó¼ºÀ¸·Î ÀÚµ¿ ½ÃÀÛ ÆǺ°
sql server°¡ ´ÙÀ½¹ø¿¡ ½ÃÀÛÇÒ ¶§ ÀÚµ¿ ½ÃÀÛ ±¸¼ºÀ» ÇÏÁö ¾Êµµ·Ï ÇÔ ;
EXECUTE sp_configure
@configname = 'scan for startup procs', @configvalue = 0
RECONFIGURE
GO
ALTER PROCEDURE ±¸¹® »ç¿ë½Ã, WITH ¼Ó¼ºÀº À¯ÁöµÇÁö ¾ÊÀ¸¹Ç·Î ´Ù½Ã ¸í½ÃÇØ¾ß ÇÔ.
sp_rename @objname = 'up_test', @newname = 'up_testnew', @objtype = 'object' ; sp À̸§ ¼öÁ¤
sp_depends ; ÀÇÁ¸ °ü°è °Ë»ç
DROP PROCEDURE¸¦ ½ÇÇàÇϸé ÇöÀç db¿¡¼ ÇØ´ç sp¸¦ ã°í, ¾øÀ¸¸é master db¸¦ °Ë»öÇÑ´Ù.