Quantcast
Channel: Teradata Downloads - Tools
Viewing all articles
Browse latest Browse all 870

SQL Assistant Import Data function giving DDL errors

$
0
0

Hello,
I've recently upgraded to SQL Assistant v14.0. In v13.10 I had no trouble running the following query (statement by statment). Now I'm having trouble because I get an error that says "Error executing query for record 1: 3706: Syntax error: expected something between ')' and the integer '1'.
Here is the sql:

drop table tempdb.pc_testimport;

 

create table tempdb.pc_testimport

(TestKey varchar(12), TestS int, TestPriority int);

 

insert into tempdb.pc_comp_res_close_cbg

values(?,?,?);

 

Here are lines from the input file:

482013113003 482 1

482013113002 482 1

482013115002 482 1

 

Although there are spaces showing between the values it's actually tab delimited. I checked the Import/Export settings and Tab as a delimiter is set. I also verified that the option to submit only the highlighted text is set as well. 

 

To me, it seem as if it's try to execute the import file rather than reading from it. Any advice regaridng this would be greatly appreciated. 

 

Thanks,

Peter

 

Forums: 

Viewing all articles
Browse latest Browse all 870

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>