Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 09 Jun 2004 @ 13:55:04 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: VB ADO & Teradata ODBC 3.02.00.09
 
From:   cblake

Geoffrey - Thanks for your help - I'll talk to our support people about it - would you recommend using OLE DB rather than ODBC?

Also, we figured out what was causing the problem - Apparently when you run queries through VB, or SQL Server, and you have a string literal with question marks in it, it causes problems. The error you get in SQL Server is "Catastrophic Failure"... ie.

     select case when mmm_id_nbr = '?????????' then 1 else 0 end as vald_prod_ind
     from prod

This blows up every time, but if I replace it with:

     select case when mmm_id_nbr = 'AAAAAAAAA' then 1 else 0 end as vald_prod_ind
     from prod

It works fine.

I think this is a bug and our DBA is going to submit it to teradata, has anyone heard of this before?

Anyway - Thanks again for the help!


Chris Blake
Supply Chain Planning and Analysis



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023