sql - how to solve time-out HYT00 teraData -


i have been working on asp.net , charts , want run query display data in charts.

however, query takes lot of time , every time error comes time-out.

enter image description here

the query :

select    colum,   sum(case when column1 = 1 column2 end)mins,   sum(column3)as rev,  sum(column4)as qty  table1  column5  between date-10 , date  group 1  order column5; 

how can increase time out value? please help!

there's no query timeout setting (only login timeout) in teradata's odbc driver when use odbc data source administrator, must set applcation using sql_attr_query_timeout attribute sqlsetstmtattr().

and default zero, means no timeout, must applied visual studio (global default automatically applied connections?) or program.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -