home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 19,063 of 19,505   
   tad na to All   
   load multiple txt files to sql server   
   23 May 14 19:42:42   
   
   From: teddybubu@gmail.com   
      
   I need to import hundreds of data txt files to sql server 2008.   
   All the txt files are in folders.  The folders names are country names.   
   Obviously, I don't want to do this manually.   
   This is what I want:   
      
   1. import all country/folder names into sql server and create a table   
        example: dbo.China   
   2. import all txt files in country/folder to specific dbo in sql server   
      
   Is this possible to do and is it done with stored procedures??   
   How do I do this?  I am a beginner so any help is appreciated.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca