Exporting data to a linked iSeries server

I need to export the data from a SQL Server table to an iSeries linked server I have already set up (and I know that I can connect to)on that server.

I have done a SELECT INTO but I get an error


"The object name HLDEV.HLDEV.MTRVEND.CARD_MTR' contains more than the maximum number of prefixes. The maximum is 2. (Microsoft SQL Server Native Client 10.0)"



I would appreciate someones assistance in getting me unpickled

Thank You
more ▼

asked Aug 13, 2010 at 02:31 PM in Default

Dave Myers gravatar image

Dave Myers
123 15 15 16

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first
SELECT INTO is not supported against linked servers. You'll have to create the tables and populate them with INSERT.
more ▼

answered Aug 13, 2010 at 03:03 PM

Magnus Ahlkvist gravatar image

Magnus Ahlkvist
16.6k 17 20 33

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Aug 13, 2010 at 02:31 PM

Seen: 1448 times

Last Updated: Aug 13, 2010 at 02:31 PM