¥µ¥¤¥é¥¹¤ÎËÜê
2009-07-31
[SQL] SQL Server 2005¤Ç¥Ç¥¿¥Ã¥Á¡¦¥¢¥¿¥Ã¥Á¤ò¥Ð¥Ã¥Á¼Â¹Ô¤¹¤ëÊýË¡
³°ÉÕ¤±HDD¤ËDB¥¤¥ó¥¹¥¿¥ó¥¹¤òÇÛÃÖ¤·¤Æ¤¤¤ë¾ì¹ç¡¢¥·¥ã¥Ã¥È¥À¥¦¥óÁ°¤ËSQL Server Management Studio¤ò³«¤¤¤Æ³ºÅöDB¤Î¥¿¥¹¥¯¤«¤é¡Ö¥Ç¥¿¥Ã¥Á¡×¤ò¼Â¹Ô¤·¤Æ¤ª¤«¤Ê¤¤¤È¡¢¼¡²óµ¯Æ°»þ¤Ë¡Ö¥Ç¥¿¥Ã¥Á¡×¡Ö¥¢¥¿¥Ã¥Á¡×¤ò¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤Î¤ÇÌÌÅݤǤ¹¡£ °Ê²¼¤Î¥³¥Þ¥ó¥É¤òWindows¥Ð¥Ã¥Á¥Õ¥¡¥¤¥ë¡Ê.bat¡Ë¤È¤·¤Æ¤ª¤±¤Ð¡¢¥À¥Ö¥ë¥¯¥ê¥Ã¥¯¤Ç¡Ö¥Ç¥¿¥Ã¥Á¡×¡Ö¥¢¥¿¥Ã¥Á¡×¤ò¥Ð¥Ã¥Á¼Â¹Ô¤Ç¤¤Þ¤¹¡£set SQLCMD=sqlcmd -E -S "localhost" -Q %SQLCMD% "sp_detach_db 'foo_db'" %SQLCMD% "sp_attach_db 'foo_db','E:\MSSQL\foo_db.mdf','E:\MSSQL\foo_db.ldf'"
¤Ò¤ÈÌܤǤ狼¤ëMicrosoft SQL Server 2005 (¥Þ¥¤¥¯¥í¥½¥Õ¥È¸ø¼°²òÀâ½ñ)
posted with amazlet at 09.07.31
ÆüËÜ¥æ¥Ë¥Æ¥Ã¥¯
Æü·ÐBP¥½¥Õ¥È¥×¥ì¥¹
Çä¤ê¾å¤²¥é¥ó¥¥ó¥°: 43344
Æü·ÐBP¥½¥Õ¥È¥×¥ì¥¹
Çä¤ê¾å¤²¥é¥ó¥¥ó¥°: 43344
¤ª¤¹¤¹¤áÅÙ¤ÎÊ¿¶Ñ:
ÆþÌç½ñ¤ËºÇŬ¤Ê£±ºý¤Ç¤¹ÆþÌç½ñ¤È¤·¤Æ¤ÏÆó½Å´Ý
ÆþÌç»þɬ¿Ü¤Î°ìºý¡ª
- 62 https://www.google.co.jp/
- 20 http://www.cyrus.co.jp/tdiary?date=20090720
- 11 https://www.google.com/
- 6 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s...
- 6 http://cyrus.co.jp/tdiary?date=20090720
- 5 http://www.google.co.jp/url?sa=t&rct=j&q=sp_detach...
- 5 http://www.cyrus.co.jp/tdiary?date=20090717
- 5 http://search.yahoo.co.jp/
- 5 http://cyrus.co.jp/tdiary?date=20090801
- 4 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&f...
- 4 google¸¡º÷(¥¢¥¿¥Ã¥Á¡¡¥Ð¥Ã¥Á)
- 4 http://www.cyrus.co.jp/tdiary?date=200907
- 4 http://search.yahoo.co.jp/search?p=¥Ð¥Ã¥Á sp_detac...
- 3 https://www.bing.com/
- 3 http://www.kensaku.xii.jp/search/mac/.bat/
- 3 http://www.google.com/search
- 3 http://www.google.co.jp/url?sa=t&rct=j&q=sqlserver...
- 3 http://www.google.co.jp/url?sa=t&rct=j&q=Sql Serve...
- 3 google¸¡º÷(.NET SQLCMD)
- 3 google¸¡º÷(osql ¥³¥Þ¥ó¥É¡¡¥¢¥¿¥Ã¥Á)
- 3 http://www.cyrus.co.jp/tdiary?date=20090710
- 3 http://www.cyrus.co.jp/tdiary/?date=20090724
- 3 http://search.yahoo.co.jp/search?p=sqlcmd detach&a...
- 3 http://search.yahoo.co.jp/search?p=sqlcmdÆþÌç&sear...
- 3 http://search.yahoo.co.jp/search?p=sql ¥Ç¥¿¥Ã¥Á¡¡¥...
- 3 http://search.yahoo.co.jp/search?p=SQLCMD ¥Ð¥Ã¥Á¥...
- 2 google¸¡º÷(¥¢¥¿¥Ã¥Á¡¡¥Ç¥¿¥Ã¥Á¡¡¥Ð¥Ã¥Á)
- 2 http://www.google.co.jp/url?sa=t&source=web&cd=2&v...
- 2 http://www.google.co.jp/url?sa=t&rct=j&q=sqlcmd ¥Ð...
- 2 http://www.google.co.jp/url?sa=t&rct=j&q=VB.NET cm...
- 2 http://www.google.co.jp/url?sa=t&rct=j&q=VB.NET¡¡s...
- 2 http://www.google.co.jp/url?sa=t&rct=j&q=SQL¡¡Serv...
- 2 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s...
- 2 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s...
- 2 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&f...
- 2 google¸¡º÷(³°ÉÕ¤±£È£Ä£Ä¡¡£Ä£Â¡¡¥Ç¥¿¥Ã¥Á)
- 2 google¸¡º÷(vb.net sqlserver ¥Ç¥¿¥Ã¥Á)
- 2 google¸¡º÷(sqlserver2005 ¥Ç¥¿¥Ã¥Á ¥µ¡¼¥Ó¥¹)
- 2 google¸¡º÷(sqlserver ¥Ç¥¿¥Ã¥Á¡¡¥Ð¥Ã¥Á)
- 2 google¸¡º÷(sqlcmd Detach)
- 2 google¸¡º÷(sqlcmd ¥Ð¥Ã¥Á)
- 2 google¸¡º÷(sp_detach_db bat)
- 2 google¸¡º÷(sp_attach_db¡¡¥Í¥Ã¥È¥ï¡¼¥¯)
- 2 google¸¡º÷(dos ¥³¥Þ¥ó¥É ¥Ð¥Ã¥Á¡¡¥¢¥¿¥Ã¥Á)
- 2 google¸¡º÷(detach ¥Ð¥Ã¥Á¥Õ¥¡¥¤¥ë)
- 2 google¸¡º÷(SQL SERVER¡¡¥Ç¥¿¥Ã¥Á¡¡BAT)
- 2 google¸¡º÷(sqlcmd ¥Ç¥¿¥Ã¥Á)
- 2 google¸¡º÷(sqlserver ¥Ç¥¿¥Ã¥Á ¥³¥Þ¥ó¥É)
- 2 google¸¡º÷(sqlcmd ¥Ð¥Ã¥Áµ¯Æ°¡¡¥Ç¥¿¥Ã¥Á)
- 2 google¸¡º÷(sp_detach_db ¥Ð¥Ã¥Á )
- 2 google¸¡º÷(sp_detach_db ¥Ð¥Ã¥Á)
- 2 google¸¡º÷(sqlcmd ¥Ð¥Ã¥Á ¥Ç¥¿¥Ã¥Á)
- 2 google¸¡º÷(SQL Server¡¡SQLCMD¡¡¥Ç¥¿¥Ã¥Á)
- 2 google¸¡º÷(SQLCMD batti )
- 2 http://www.cyrus.co.jp/tdiary?date=20090801
- 2 http://www.cyrus.co.jp/tdiary/?date=20090720
- 2 http://www.cyrus.co.jp/tdiary/?date=20090703
- 2 http://www.cyrus.co.jp/tdiary/?date=200907
- 2 http://www.bing.com/search?q=sp_detach_db bat&qs=n...
- 2 http://search.yahoo.co.jp/search?p=sqlserver2008 ¥...
- 2 http://search.yahoo.co.jp/search?p=sqlcmd sp_detac...
- 2 http://search.yahoo.co.jp/search?p=sqlcmd sp_attac...
- 2 http://search.yahoo.co.jp/search?p=sqlcmd ¥³¥Þ¥ó¥É...
- 2 http://search.yahoo.co.jp/search?p=sqlcmd ¥³¥Þ¥ó¥É...
- 2 http://search.yahoo.co.jp/search?p=¥Ð¥Ã¥Á¥Õ¥¡¥¤¥ë¤...
- 2 http://search.yahoo.co.jp/search;_ylt=A3xTymW0gylU...
- 2 http://gimon.180r.com/result/SQL Server/sql server...
- 2 http://cyrus.co.jp/tdiary/index.rdf
- 1 https://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&...
- 1 https://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&...
- 1 https://www.google.co.jp
- 1 http://x.search.yahoo.co.jp/search?p=SQLCMD¡¡¥Ð¥Ã¥...
- 1 http://www.google.com/url?sa=t&rct=j&q=&esrc=s&sou...
- 1 google¸¡º÷(SQL Server ¥¢¥¿¥Ã¥Á ¥Ç¥¿¥Ã¥Á VB.NET)
- 1 google¸¡º÷(sqlcmd sp_attach_db ¥³¥Þ¥ó¥É¡¡¥Ç¥¿¥Ã¥Á)
- 1 google¸¡º÷(sp_detach_db ¥Ð¥Ã¥Á)
- 1 google¸¡º÷(SQL Server 2005 ¥Ç¥¿¥Ã¥Á¡¡¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È)
- 1 google¸¡º÷(sqlcmd ¥¢¥¿¥Ã¥Á ¥Ð¥Ã¥Á)
- 1 google¸¡º÷(SQLSERVER ¥¢¥¿¥Ã¥Á¥³¥Þ¥ó¥É)
- 1 google¸¡º÷(¥¢¥¿¥Ã¥Á ¥³¥Þ¥ó¥É ¥Ð¥Ã¥Á)
- 1 http://www.google.co.jp/url?url=http://www.cyrus.c...
- 1 http://www.google.co.jp/url?url=http://www.cyrus.c...
- 1 http://www.google.co.jp/url?url=http://www.cyrus.c...
- 1 http://www.google.co.jp/url?url=http://www.cyrus.c...
- 1 http://www.google.co.jp/url?sa=t&source=web&cd=8&v...
- 1 http://www.google.co.jp/url?sa=t&source=web&cd=8&v...
- 1 http://www.google.co.jp/url?sa=t&source=web&cd=39&...
- 1 http://www.google.co.jp/url?sa=t&source=web&cd=30&...
- 1 http://www.google.co.jp/url?sa=t&source=web&cd=1&v...
- 1 http://www.google.co.jp/url?sa=t&source=web&cd=1&v...
- 1 http://www.google.co.jp/url?sa=t&rct=j&q=vb.net sq...
- 1 http://www.google.co.jp/url?sa=t&rct=j&q=vb sqlser...
- 1 http://www.google.co.jp/url?sa=t&rct=j&q=vb net sq...
- 1 http://www.google.co.jp/url?sa=t&rct=j&q=vb ¥Ð¥Ã¥Á...
- 1 http://www.google.co.jp/url?sa=t&rct=j&q=sqlserver...
- 1 http://www.google.co.jp/url?sa=t&rct=j&q=sqlserver...
- 1 http://www.google.co.jp/url?sa=t&rct=j&q=sqlserver...
- 1 http://www.google.co.jp/url?sa=t&rct=j&q=sqlserver...
- 1 http://www.google.co.jp/url?sa=t&rct=j&q=sqlserver...
- 1 http://www.google.co.jp/url?sa=t&rct=j&q=sqlserver...