Migrate from MS Access to SQL Server 2005 database MS ¾×¼¼½º¿Í SQL ¼¹ö 2005 µ¥ÀÌÅͺ£À̽º ¸¶ÀÌ ±× ·¹À̼ǿ¡ À̸£±â±îÁö
Posted on September 16, 2008 at 5:39 am 9 ¿ù 16 ÀÏ, 2008 °Ô½ÃµÊ ¿ÀÀü 5:39
Recently, I had to migrate the data from an Access database to SQL Server 2005 because my database was getting too large for Access to handle. ÃÖ±Ù¿¡, ³ Access µ¥ÀÌÅͺ£À̽º¿¡¼ SQL Server 2005·Î ¸¶ÀÌ ±× ·¹À̼ÇÇϵµ·ÏÇß´Ù µ¥ÀÌÅ͸¦ ó¸®Çϱ⠶§¹®¿¡ µ¥ÀÌÅͺ£À̽º ¾×¼¼½º¸¦ À§ÇØ ³Ê¹« Å«Áö°í ÀÖ¾ú¾î¿ä. I decided that since it¡¯sa fairly simple process, but something that many people might be doing, that I would write it up here as an article. ³ ±× ÀÌÈÄ·Î ÇÏ´À³Ä °áÁ¤ °úÁ¤Àº ¸Å¿ì °£´ÜÇÏÁö¸¸, ¸¹Àº »ç¶÷µéÀÌ ±× ÀÏÀ» ÇÒ ¼öÀÖÀ»¸¸ÇÑ, ±×°ÍÀÌ ³»°¡ ¿©±â¿¡ ±â»ç¸¦ ¾²±â·ÎÇß´Ù.
I¡¯ve also written two other migration articles that you might be interested in: ¶Ç ´Ù¸¥ µÎ¸íÀÇ ¸¶ÀÌ ±× ·¹ÀÌ¼Ç °ü·Ã ±â»ç¿¡ °ü½ÉÀÌÀÖÀ» ¼¸éÀ¸·Î ÀÛ¼ºÇß½À´Ï´Ù : Migrating pictures from Flickr to Picasa Çø® Ä¿¿¡¼ »çÁøÀ» Picasa·Î ¸¶ÀÌ ±× ·¹ÀÌ¼Ç and ¹× migrate from iPhone to iPhone 3G ¾ÆÀÌÆù¿¡¼ ¸¶ÀÌ ±× ·¹ÀÌ¼Ç 3G ¾ÆÀÌÆùÀ» . Now back to Access to SQL. ÀÌÁ¦ ´Ù½Ã ¾×¼¼½ºÇÏ¿© SQLÇÕ´Ï´Ù.
First, you need to make sure you have SQL Server 2005 or SQL 2005 Express installed on your computer along with the SQL Server Management Studio. ù°, ´ç½ÅÀº È®½ÇÇÏ°Ô ¸¸µé ÇÊ¿ä´Â SQL Server 2005 ¶Ç´Â SQL 2005 ÀͽºÇÁ·¹½º´Â ÄÄÇ»ÅÍ¿¡ ¼³Ä¡µÈ SQL Server Management Studio¸¦ ÇÔ²²ÇÕ´Ï´Ù. If so, you¡¯re ready to export your Access database to SQL 2005. ±×·¸´Ù¸é, ´ç½ÅÀº SQL 2005 Access µ¥ÀÌÅͺ£À̽ºÀÇ ¼öÃâ¿¡ ÁغñÇϰíÀÖ½À´Ï´Ù.
Transfer Access database to SQL Server 2005 SQL Server 2005·Î Àü¼Û Access µ¥ÀÌÅͺ£À̽º
Open SQL Server Management Studio and connect to the database server you want to import your Access database into. ¿ÀÇ SQL Server Management Studio¸¦ ´ç½ÅÀ¸·ÎÇÏ¿© Access µ¥ÀÌÅͺ£À̽º¸¦ °¡Á®¿À·Á´Â µ¥ÀÌÅͺ£À̽º ¼¹ö¿¡ ¿¬°áÇÕ´Ï´Ù. Under Databases , right-click and choose New Database . µ¥ÀÌÅͺ£À̽º¿¡¼ ¹Ù·Î - Ŭ¸¯ÇÏ°í »õ µ¥ÀÌÅͺ£À̽º¸¦ ¼±ÅÃÇÕ´Ï´Ù.
Give it a name and configure the other settings as needed and click OK. À̸§°ú ±¸¼ºÀ¸·Î ´Ù¸¥ ¼³Á¤ Áà ÇÊ¿äÇϰí È®ÀÎÀ» ´©¸¨´Ï´Ù. Now we need to right-click on the database we just created and choose Tasks and then Import Data . ÀÌÁ¦ ¿ì¸®´Â ¿ì¸®°¡ ¹æ±Ý ¸¸µç ¹Ù·Î -¸¦ Ŭ¸¯Çϰí ÀÛ¾÷À» ¼±ÅÃÇÏ°í ´ÙÀ½ µ¥ÀÌÅÍ °¡Á®¿À±â µ¥ÀÌÅͺ£À̽º¿¡ ÇÊ¿äÇÕ´Ï´Ù.
On the Data Source dialog box, scroll up until you see Microsoft Access . Microsoft Access¸¦ º¼ ¶§±îÁö µ¥ÀÌÅÍ ¿øº» ´ëÈ »óÀÚ¿¡¼ ÃÖ´ë ½ºÅ©·ÑÇÕ´Ï´Ù.
Next to File, click on Browse and navigate to the Access database you want to import and click Open . ´ÙÀ½ ÆÄÀÏ, ã¾Æº¸±â¸¦ Ŭ¸¯ÇÏ°í ¿øÇÏ´Â ¼öÀÔÇÏ°í ¿±â¸¦ Ŭ¸¯ Access µ¥ÀÌÅͺ£À̽º·Î À̵¿ÇÕ´Ï´Ù. Note that the database cannot be in Access 2007 format as SQL Server 2005 does not recognize it! ±× µ¥ÀÌÅͺ£À̽º¸¦ Access¿¡¼ SQL ¼¹ö 2005·Î ÀνÄÇÏÁö ¸øÇϱ⠶§¹®¿¡ 2007 Çü½ÄÀÌ µÉ ¼ö¾ø½À´Ï´Ù! So if you have a 2007 Access database, first convert it to the 2002-2003 Access format by going to Save As. ±×·¡¼ ¸¸¾à ´ç½ÅÀÌ 2007 Access µ¥ÀÌÅͺ£À̽º¸¦ °¡Áö°í, 20022003 ¾×¼¼½º Çü½ÄÀ¸·Î º¯È¯ÇÏ¿© ÀúÀåÇÏ´Â °Í.
Go ahead and click Next to choose the destination. ¾Õ¼ ¸ñÀûÁö¸¦ ¼±ÅÃÇÏ·Á¸é ´ÙÀ½À» Ŭ¸¯ÇÕ´Ï´Ù. Since you right-clicked on the database you wanted to import the data into, it should already be picked in the list. ÀÌÈÄ ¿À¸¥ÂÊ - ´ç½ÅÀ¸·Î ¿øÇÏ´Â µ¥ÀÌÅ͸¦ °¡Á®¿Ã µ¥ÀÌÅͺ£À̽º¸¦ Ŭ¸¯ÇÒ ¶§, ±×°ÍÀº ÀÌ¹Ì ¸ñ·Ï¿¡¼ ¼±ÅõǾî¾ßÇÕ´Ï´Ù.
Click Next and then specify how you want to transfer the data from Access to SQL by choosing either Copy the data from one or more tables or Write a query to specify the data to transfer . ¸¦ Ŭ¸¯ÇÑ ´ÙÀ½ ´ÙÀ½ Áß Çϳª¸¦ Àü¼ÛÇÏ´Â ¹æ¹ýÀº SQL µ¥ÀÌÅ͸¦ ÁöÁ¤ÇÏ´Â Çϳª ÀÌ»óÀÇ Å×À̺íÀ̳ª Äõ¸®¿¡¼ µ¥ÀÌÅ͸¦ º¹»ç¸¦ ¼±ÅÃÇÏ¿© ¾²±â ¾×¼¼½º·ÎºÎÅÍ µ¥ÀÌÅ͸¦ Àü¼ÛÇϵµ·Ï ÁöÁ¤ÇÒ ¼öÀÖ½À´Ï´Ù.
In most cases, if you want to just transfer the entire database, you should choose the first option. ´ëºÎºÐÀÇ °æ¿ì, Àüü µ¥ÀÌÅͺ£À̽º¸¦ Àü¼ÛÇϱ⸸Çϸé, ´ç½ÅÀº ù ¹øÂ° ¿É¼ÇÀ» ¼±ÅÃÇØ¾ßÇÕ´Ï´Ù. If you want only a portion of the data from a particular table, you can write out the SQL query. ¸¸¾à ´ç½ÅÀÌ Æ¯Á¤ Å×ÀÌºí¿¡¼ µ¥ÀÌÅÍÀÇ ÀϺθ¸ ½ÍÀ¸¸é ¹ÛÀ¸·Î SQL Äõ¸®¸¦ ÀÛ¼ºÇÒ ¼öÀÖ½À´Ï´Ù. Click Next. ´ÙÀ½À» Ŭ¸¯ÇÕ´Ï´Ù.
By default all the tables should be selected and if you click the Edit button under Mapping , you¡¯ll see the the destination database will create all of the tables to match what¡¯s in the Access database. ¸ÅÇÎÀ» ¾Æ·¡¿¡ÀÖ´Â ¼öÁ¤ ¹öưÀ» Ŭ¸¯ÇÏ¸é ¸ðµç Å×À̺íÀÌ ¼±ÅõǾî¾ß ±âº»ÀûÀ¸·Î, ´ç½ÅÀº ´ë»ó µ¥ÀÌÅͺ£À̽ºÀÇ ¸ðµç Å×À̺íÀÇ Access µ¥ÀÌÅͺ£À̽º¿¡ ÀÏÄ¡Çϵµ·Ï ¸¸µé¾î º¸ÀÚ.
Here I have only one table in my Access database. Àú´Â ¿©±â¿¡ Á¦ Access µ¥ÀÌÅͺ£À̽º¿¡¼ Å×ÀÌºí¿¡ ´Ü Çϳª. Click Next and then choose whether to execute immediately or to save it as a file to perform later. ¿©ºÎ¸¦ Áï½Ã ½ÇÇàÇÏ·Á¸é ´ÙÀ½À» ´©¸¥ ´ÙÀ½ ÀúÀåÀ» ¼öÇàÇϰųª ÆÄÀÏ·Î ÀúÀåÀ» ¼±ÅÃÇÕ´Ï´Ù.
Click Next and then click Finish . ´ÙÀ½À» ´©¸¥ ´ÙÀ½ ¸¶Ä§À» ´©¸¨´Ï´Ù. You¡¯ll then see the progress of the data transfer as it occurs. ·Î ¹ß»ý ±×·± ´ÙÀ½ µ¥ÀÌÅÍ Àü¼ÛÀÇ ÁøÇà »óŰ¡ ³ªÅ¸³³´Ï´Ù.
After it is completed, you¡¯ll see the number of rows transferred for each table in the Message column. ÀÌÈÄÀÌ ¿Ï·áµÇ¸é, ´ç½ÅÀº Çà°ú ¿¿¡ÀÖ´Â °¢ Å×ÀÌºí¿¡ ´ëÇÑ ¸Þ½ÃÁö Àü¼ÛÀÇ ¹øÈ£°¡ Ç¥½ÃµË´Ï´Ù.
Click Close and you should now have all of your Access data nicely imported into a SQL Server 2005 database, which you can then use for whatever you like. ´Ý±â¸¦ Ŭ¸¯Çϰí Áö±Ýó·³ ¸ÚÁö°Ô ±×·¸´Ù¸é ´ç½ÅÀº ´ç½ÅÀÌ ¹«¾ùÀ» À§ÇØ »ç¿ëÇÒ ¼öÀÖ´Â SQL ¼¹ö 2005 µ¥ÀÌÅͺ£À̽º·Î °¡Á®¿Â ¸ðµç µ¥ÀÌÅÍÀÇ ¾×¼¼½º°¡ ÀÖ¾î¾ßÇÕ´Ï´Ù.
Any problems importing your data from Access to SQL 2005? ¸ðµç ¹®Á¦´Â SQL 2005 ¾×¼¼½º·ÎºÎÅÍ »ç¿ëÀÚÀÇ µ¥ÀÌÅ͸¦ °¡Á®¿Í¼? If so, post a comment and I¡¯ll try to help! ±×·¸´Ù¸é ÀǰßÀ» °Ô½ÃÇÏ°í ³ µµ¿ì·Á°í°Å¾ß!
» Filed Under »Ãâ¿ø¿¡¼ MS Office Tips MS ¿ÀÇǽº ÆÁ
Save this page ÀÌ ÆäÀÌÁö¸¦ ÀúÀå | Stir it up on Mixx Mixx¿¡ ¿Ã·Á ÆÄ¹® | |
Add to Reddit reddit¿¡ Ãß°¡ |
Related Posts °ü·Ã °Ô½Ã¹°
- Excel Basics - How to use the Conditional Sum wizard ¿¢¼¿ ±âÃÊ - Á¶°ÇºÎ ÇÕ°è ¸¶¹ý»ç¸¦ »ç¿ëÇÏ´Â ¹æ¹ý
- How to map a drive in Windows Windows¿¡¼ µå¶óÀ̺긦 ¸ÅÇÎÇÏ´Â ¹æ¹ý
- Page Saver - Free FireFox extension to capture images of web pages ÆäÀÌÁö º¸È£±â - ¹«·á Firefox È®Àå À¥ ÆäÀÌÁöÀÇ À̹ÌÁö¸¦ ĸó
- How to burn Windows Movie Maker WMV video to DVD ¾î¶»°Ô DVD·Î Windows Movie Maker¸¦ WMV ºñµð¿À¸¦ ±¸¿ï
- First look and review of Microsoft Office Live Workspace Beta ÃÖÃÊÀÇ ¸ð¾ç°ú ¸¶ÀÌÅ©·Î ¼ÒÇÁÆ® ¿ÀÇǽº ¶óÀÌºê ¿öÅ© ½ºÆäÀ̽º º£Å¸ ¸®ºä






















