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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Import Excel with hyperlinks
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dexeloper
Starting Member

3 Posts

Posted - 11/04/2014 :  15:09:13  Show Profile  Reply with Quote
I want to import an Excel spreadsheet into a SQL table. One of the Excel columns is hyperlink and importing loses the link address.
Any ideas?

gbritton
Flowing Fount of Yak Knowledge

2780 Posts

Posted - 11/04/2014 :  16:08:14  Show Profile  Reply with Quote
How is the corresponding column defined in SQL?
Go to Top of Page

dexeloper
Starting Member

3 Posts

Posted - 11/04/2014 :  17:28:03  Show Profile  Reply with Quote
nvarchar
I've tried sqlvariant and xml but don't see any difference
Go to Top of Page

gbritton
Flowing Fount of Yak Knowledge

2780 Posts

Posted - 11/04/2014 :  18:42:27  Show Profile  Reply with Quote
What are you using to do the import? Also, what is the length of the nvarchar column? Finally, can you post a lie or two of sample data?
Go to Top of Page

dexeloper
Starting Member

3 Posts

Posted - 11/05/2014 :  11:37:26  Show Profile  Reply with Quote
Doing the import via Management Studio. I don't think this is going to get anywhere.
Eventually went into the spreadsheet and extracted the link address to another column.
Suspect SQLServer Import can't handle Excel hyperlinks.
Go to Top of Page

gbritton
Flowing Fount of Yak Knowledge

2780 Posts

Posted - 11/05/2014 :  12:24:52  Show Profile  Reply with Quote
SQL Server is blissfully ignorant of the contents of Excel columns. Its just data.

Do you mean you used the Import wizard? That's just SSIS with a simple front end. It would be interesting to look at the package in BIDS and see what it generated. Could be a problem there somewhere.
Go to Top of Page
  Previous Topic Topic Next 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.02 seconds. Powered By: Snitz Forums 2000