December 3, 2010 at 2:28 pm
i am trying to create a table in teradata using execute sql task (ado .net) and directinput
but i am getting the following error
Error: The Execute method on the task returned error code 0x80131509 (This type has a ComVisible(false) parent in its hierarchy, therefore QueryInterface calls for IDispatch or class interfaces are disallowed.). The Execute method must succeed, and indicate the result using an "out" parameter.
Can anyone help me on this?
December 9, 2010 at 10:38 am
January 25, 2011 at 12:46 pm
when i use odbc i get error in the query
create table abc(select id from table1) ;
i get syntax error between select and ;
January 25, 2011 at 12:51 pm
keywestfl9 (1/25/2011)
when i use odbc i get error in the querycreate table abc(select id from table1) ;
i get syntax error between select and ;
I'm not very familiar with Teradata, but are you sure this is a valid SQL statement? Have you tried executing the statement outside under Teradata bench or another application?
January 25, 2011 at 12:57 pm
sorry correction in my sql
create table abc as (select id from table1 inner join table2 on table.ano = table2.ano) with data
primary index (id)
;
it works in Teradata sql assistant using odbc driver but not from execute sql task
January 25, 2011 at 1:01 pm
keywestfl9 (1/25/2011)
sorry correction in my sqlcreate table abc as (select id from table1 inner join table2 on table.ano = table2.ano) with data
primary index (id)
;
it works in Teradata sql assistant using odbc driver but not from execute sql task
When do you get this error? When you press 'Parse Query' command in the task or when you try to execute the task ?
January 25, 2011 at 1:13 pm
when execute
January 25, 2011 at 1:18 pm
January 25, 2011 at 4:35 pm
if i have to use attunity what type of connection is it? Like oledb, odbc
January 26, 2011 at 1:12 pm
i won't be able to use attunity in all environment and i was trying to do more research on .net driver
i see this difference when i parse the query in the developer edition i have in system i get
TITLE: SQL Task
------------------------------
Object reference not set to an instance of an object.
------------------------------
BUTTONS:
OK
------------------------------
but if do the same execute sql task in another machine with enterprise edition but no ssis running i get it running
any thoughts on this?
January 26, 2011 at 1:16 pm
January 26, 2011 at 1:40 pm
i see select statement works with .net data driver for teradata but not the create table from execute task
when i try odbc i get
[NCR][ODBC Teradata Driver][Teradata Database] Syntax error: expected something between the 'select' keyword and ';'. ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
when i parse the query it works but when i execute i get this error
any help on this?
January 26, 2011 at 1:44 pm
keywestfl9 (1/26/2011)
i see select statement works with .net data driver for teradata but not the create table from execute taskwhen i try odbc i get
[NCR][ODBC Teradata Driver][Teradata Database] Syntax error: expected something between the 'select' keyword and ';'. ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
when i parse the query it works but when i execute i get this error
any help on this?
You said you have machine working properly. Did you compare the versions of SSIS on both machines - working and not working ?
January 26, 2011 at 2:30 pm
the machine which is working is not having ssis running only BIDS installed and enterprise edition
other machine is developer edition and ssis running - this is where it doesn't work.
Viewing 15 posts - 1 through 15 (of 22 total)
You must be logged in to reply to this topic. Login to reply