Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 Quick Stupid Question

Author  Topic 

dfw214
Starting Member

4 Posts

Posted - 2010-07-27 : 15:02:50
The company I work for wants me to create a database and input data into it, however I'm having some problems. They gave me a csv file, and i'm not sure how to input the data into microsoft sql server 2008. I created a database and a table, and now i need to put the data into the columns, what's the fastest way to do that?

Chris Warren
Programmer

dfw214
Starting Member

4 Posts

Posted - 2010-07-27 : 15:06:33
I have the csv file opened up in excel, and visual studio 2008
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-07-27 : 15:06:51
SSMS -> object explorer -> right click on databasename -> all tasks -> import. And then step through the wizard.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

dfw214
Starting Member

4 Posts

Posted - 2010-07-27 : 15:12:29
Thanks! I had my head in my rear end...that worked perfectly
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-07-27 : 15:57:26
welcome


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2010-07-27 : 16:41:45
He said the quickest way

That would be through bcp, which is faster

Ohhh...you mean faster for you to learn/use?





Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

dfw214
Starting Member

4 Posts

Posted - 2010-07-27 : 16:52:37
The fastest to use, and learn as well

Party like a LobSTAR!!!!!!!
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2010-07-28 : 13:35:15
quote:
Originally posted by dfw214

The fastest to use, and learn as well

Party like a LobSTAR!!!!!!!



Do mean party like a Rock Lobster?

http://www.lyrics007.com/The%20B-52's%20Lyrics/Rock%20Lobster%20Lyrics.html



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page
   

- Advertisement -