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

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 html to sql
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

8 Posts

Posted - 03/10/2013 :  19:33:00  Show Profile  Reply with Quote

Im trying to read a html file directly into the sql db.

Is that possible ?

are there any parsers out there i can use ?

same file is at :

i'm trying to add the table that begins with "strike" as columns and all the others as well. I need the actual data input into sql not the html code.

Thanks in advance.

Edited by - xclaim on 03/10/2013 20:00:52

Flowing Fount of Yak Knowledge

United Kingdom
2167 Posts

Posted - 03/11/2013 :  11:49:45  Show Profile  Visit jackv's Homepage  Reply with Quote
There are a few parser scripts around written in Powershell. They will take a html file and clear out the html code. From there you can place them in an object and pass through to a SQL Server table

Jack Vamvas
Go to Top of Page

Aged Yak Warrior

940 Posts

Posted - 03/11/2013 :  20:54:17  Show Profile  Reply with Quote
I probably wouldn't do this in the database, but if pushed, I'd have a crack at loading the HTML into an XML type then use XML functions to pull it apart.
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.05 seconds. Powered By: Snitz Forums 2000