SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Cannot find Excel file after import
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

camarogal00
Starting Member

USA
3 Posts

Posted - 07/14/2012 :  09:39:24  Show Profile  Reply with Quote
After I imported all fields of my excel file successfully, I cannot find the file in SQL Server 2008 r2. Anyone have any suggestions?

Edited by - camarogal00 on 07/14/2012 09:40:45

sunitabeck
Flowing Fount of Yak Knowledge

5152 Posts

Posted - 07/14/2012 :  10:22:55  Show Profile  Reply with Quote
You would not find the file in SQL Server, the data you imported would be in a table. If you used Import/Export wizard to import, it would have asked you for a table name. If you know the name of the table, you can see the data in the table using:
SELECT * FROM TableNameHere;
If you don't know the name, in SQL Server Management Studio, in object explorer, expand the Tables node under the database name and look for it.
Go to Top of Page

camarogal00
Starting Member

USA
3 Posts

Posted - 07/14/2012 :  23:10:16  Show Profile  Reply with Quote
I should have explained further. I ran a query to show all fields of data in the table and it was empty except for the headings I had previously created. Am I supposed to do something else after the upload?
Go to Top of Page

sunitabeck
Flowing Fount of Yak Knowledge

5152 Posts

Posted - 07/15/2012 :  12:51:58  Show Profile  Reply with Quote
You should not have to do anything other than importing the data from the file into a database table. Can you describe how you imported it? For an excel file, probably the simplest approach is to use the Import/Export Wizard: http://msdn.microsoft.com/en-us/library/ms141209.aspx
Go to Top of Page

camarogal00
Starting Member

USA
3 Posts

Posted - 07/15/2012 :  17:10:32  Show Profile  Reply with Quote
I use the import/export wizard from the start menu and from the database itself. Both say that it successfully transferred 1743 rows, but when I run the select * from database nothing comes up but the headings.
Go to Top of Page

sunitabeck
Flowing Fount of Yak Knowledge

5152 Posts

Posted - 07/15/2012 :  17:45:53  Show Profile  Reply with Quote
When the wizard completes the import, it shows a report including the number of rows imported. Look carefully at the report to see what it says and whether you can get any clues from that.

Other than that, and other obvious (or perhaps not so obvious) things such as making sure that you are looking at the right database, the right schema, the right table name etc., I can't think of a reason why Import/Export wizard would report success, but the data would not be in the table.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000