SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSIS problem with oledb destination and too many insert columns


SSIS problem with oledb destination and too many insert columns

Author
Message
SQLdevotee
SQLdevotee
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1228 Visits: 568
Ok, Let me get it right. You are just trying to feed a table from a flat file right? If so, just do a simple package by having flat file to OLE DB. I have attach the looks, let me know of any problems.

Imagination is more important than knowledge-Albert Einstein
Attachments
Flatfilefeed.doc (11 views, 142.00 KB)
Matt Miller (4)
Matt Miller (4)
One Orange Chip
One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)

Group: General Forum Members
Points: 29799 Visits: 19009
In case you were looking for some info on that system SP - it's available only via OLE and ODBC connections. It's mostly documented under API cursors or OLE DB, and NOT under SQL Server.

Some intro info:

http://msdn2.microsoft.com/en-us/library/ms187088.aspx
http://msdn2.microsoft.com/en-us/library/ms189546.aspx
http://msdn2.microsoft.com/en-us/library/aa172588(sql.80).aspx


That being said - from what those documents mention that sp_CURSOR is ALWAYS invoked as part of mapping fields from an OLE DB source to SQL Server, so I am not sure there is an issue IN that system stored proc (since the import works to a simple table).

----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?
Griffster
Griffster
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1755 Visits: 713
I'm doing something similar to that as it is. See the attached.
Attachments
Doc3.doc (13 views, 112.00 KB)
Griffster
Griffster
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1755 Visits: 713
Thanks Matt. Having looked at those web pages there's no limitation on the number of parameters either, although I wouldn't call a 992 columned table a simple table! I can only assume this is the problem. Would it help if I attached the create table statement for the sql table it's populating?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search