Im trying to import an html file using dts. When I click on the file when
using dts designer, I get the message:
External table is not in the expected format.
Any ideas?
SQL2K SP3
TIA, ChrisR
In message <udOcQh54EHA.936@.TK2MSFTNGP12.phx.gbl>, ChrisR
<bla@.noemail.com> writes
>Im trying to import an html file using dts. When I click on the file when
>using dts designer, I get the message:
>External table is not in the expected format.
>Any ideas?
>--
>SQL2K SP3
>TIA, ChrisR
>
Does the error not say it all? The HTML connection cannot
parse/recognise a valid html table in that file. No table, no import.
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com
PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
Showing posts with label designer. Show all posts
Showing posts with label designer. Show all posts
Monday, March 26, 2012
import html file error
Im trying to import an html file using dts. When I click on the file when
using dts designer, I get the message:
External table is not in the expected format.
Any ideas?
--
SQL2K SP3
TIA, ChrisRIn message <udOcQh54EHA.936@.TK2MSFTNGP12.phx.gbl>, ChrisR
<bla@.noemail.com> writes
>Im trying to import an html file using dts. When I click on the file when
>using dts designer, I get the message:
>External table is not in the expected format.
>Any ideas?
>--
>SQL2K SP3
>TIA, ChrisR
>
Does the error not say it all? The HTML connection cannot
parse/recognise a valid html table in that file. No table, no import.
--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com
PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
using dts designer, I get the message:
External table is not in the expected format.
Any ideas?
--
SQL2K SP3
TIA, ChrisRIn message <udOcQh54EHA.936@.TK2MSFTNGP12.phx.gbl>, ChrisR
<bla@.noemail.com> writes
>Im trying to import an html file using dts. When I click on the file when
>using dts designer, I get the message:
>External table is not in the expected format.
>Any ideas?
>--
>SQL2K SP3
>TIA, ChrisR
>
Does the error not say it all? The HTML connection cannot
parse/recognise a valid html table in that file. No table, no import.
--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com
PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
Import from postgres
I'm trying to work with a web designer to get data copied from their system to ours (SQL Server 2000). She's giving me a file in what she called postgres format, which I've never worked with. I can get the CREATE TABLE statements to work with some tweaking, but I can't get the actual data. She's giving me a text file that looks like:
COPY manager (id, name, username, "password", access_level, affiliate) FROM stdin;
1 SunMie sunmie pw 5
2 Manager manager pw 5
\.
which I can't get Query Analyzer to get happy with. Am I missing something, or does she need to provide me with the data in a different format?if you have all the tables created but no data in them, you might be able to use bcp.exe to get the data in. bcp takes delimited files as input and will bulk insert to the table of your choice. as I recall, you can tell it what line to start on, and what line to end on.
look up "bcp utility" in bol for more info.
one catch may be that you are using a space to delimit the field values. it might make more sense to use some other char, like tab or "|". basically you need to choose a delimiter that won't appear in any of your text fields.
EDIT: i hope those aren't real passwords you posted... you might want to edit them if they are!|||The actual text file appears to be tab delimited. I think this forum condensed it when I posted. I will look at bcp, though my problem will be that the text file she sent contains this type of thing for multiple tables (actually it starts with create table statements). I guess in postgres you could just execute the text, and it would create/populate each table in turn. Given that the start and end point for each table would change, I'm not sure bcp will work without my manipulating the data in some way, which I was hoping to avoid.
Thanks for the help!
COPY manager (id, name, username, "password", access_level, affiliate) FROM stdin;
1 SunMie sunmie pw 5
2 Manager manager pw 5
\.
which I can't get Query Analyzer to get happy with. Am I missing something, or does she need to provide me with the data in a different format?if you have all the tables created but no data in them, you might be able to use bcp.exe to get the data in. bcp takes delimited files as input and will bulk insert to the table of your choice. as I recall, you can tell it what line to start on, and what line to end on.
look up "bcp utility" in bol for more info.
one catch may be that you are using a space to delimit the field values. it might make more sense to use some other char, like tab or "|". basically you need to choose a delimiter that won't appear in any of your text fields.
EDIT: i hope those aren't real passwords you posted... you might want to edit them if they are!|||The actual text file appears to be tab delimited. I think this forum condensed it when I posted. I will look at bcp, though my problem will be that the text file she sent contains this type of thing for multiple tables (actually it starts with create table statements). I guess in postgres you could just execute the text, and it would create/populate each table in turn. Given that the start and end point for each table would change, I'm not sure bcp will work without my manipulating the data in some way, which I was hoping to avoid.
Thanks for the help!
Wednesday, March 7, 2012
Import Charts
Hello NG!
I want to import AccessXP reports with charts. Is there any possibility to do this?
In the report designer error message callt object is not supportet.
Michael HerrmannsBOL contains a topic on the supported access report features during import:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSCREATE/htm/rcr_creating_building_v1_5x2r.asp
At the end of the "report controls" section it states: "For example, if an
Access report contains an OWC Chart control, it will not be converted when
the report is imported. The control must be added manually after the report
is imported." I.e. you have to re-create the charts with the Reporting
Services chart control.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Michael Herrmanns" <m.herrmanns@.fme.de> wrote in message
news:8c74690.0409130133.48f12c8b@.posting.google.com...
> Hello NG!
> I want to import AccessXP reports with charts. Is there any possibility to
do this?
> In the report designer error message callt object is not supportet.
> Michael Herrmanns|||Thanks Roberts.
Next time I better rtm.
greeting
Michael
I want to import AccessXP reports with charts. Is there any possibility to do this?
In the report designer error message callt object is not supportet.
Michael HerrmannsBOL contains a topic on the supported access report features during import:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSCREATE/htm/rcr_creating_building_v1_5x2r.asp
At the end of the "report controls" section it states: "For example, if an
Access report contains an OWC Chart control, it will not be converted when
the report is imported. The control must be added manually after the report
is imported." I.e. you have to re-create the charts with the Reporting
Services chart control.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Michael Herrmanns" <m.herrmanns@.fme.de> wrote in message
news:8c74690.0409130133.48f12c8b@.posting.google.com...
> Hello NG!
> I want to import AccessXP reports with charts. Is there any possibility to
do this?
> In the report designer error message callt object is not supportet.
> Michael Herrmanns|||Thanks Roberts.
Next time I better rtm.
greeting
Michael
Friday, February 24, 2012
Import Access Report
I need to import Access Reports to Reporting Service on fly using VB.NET code. How can I do that? I know how to do that using Report designer but it is not going to work because we have to convert 500 reports. Any help will be highly appreciated.
Subscribe to:
Posts (Atom)