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


OLEDB source error


OLEDB source error

Author
Message
Venkatesan Prabu
Venkatesan Prabu
SSC Veteran
SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)SSC Veteran (266 reputation)

Group: General Forum Members
Points: 266 Visits: 205
Hi,



Am having "TableA" in sybase. I need to fetch the data from TableA using OLE DB Source.



I have connected to the database and test connection is succeeded. In the drop down, am able to see all the tables. But its appended with "dbo". My table looks like "dbo"."TableA" . If i click preview, am unable to get it and if i click "Ok" am getting the following error. Please help me to resolve this.




Code SnippetTITLE: Microsoft Visual Studio
------------------------------

Error at Data Flow Task [OLE DB Source [211]]: An OLE DB error has occurred. Error code: 0x80040E37.
An OLE DB record is available. Source: "ASE OLE DB Provider" Hresult: 0x80040E37 Description: "[Native Error code: 102]
[DataDirect ADO Sybase Provider] Incorrect syntax near '.'.
".

Error at Data Flow Task [OLE DB Source [211]]: Opening a rowset for ""dbo"."TableA"" failed. Check that the object exists in the database.



------------------------------
ADDITIONAL INFORMATION:

Exception from HRESULT: 0xC02020E8 (Microsoft.SqlServer.DTSPipelineWrap)

------------------------------
BUTTONS:

OK
------------------------------

Thanks and Regards,
Venkatesan Prabu, Tongue
My Blog:

http://venkattechnicalblog.blogspot.com/
Michael Earl-395764
Michael Earl-395764
SSCertifiable
SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)

Group: General Forum Members
Points: 6731 Visits: 23078
It is a driver compatibility issue - you should contact DataDirect. My suggestion for a workaround (and probably theirs) would be to change the data access mode dropdown in the OLEDB Source component from "Table or View" to "SQL Command" and type the select statement in rather than choosing a table.
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