Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

ORA-01013 I want to change the query timeout setting.

hi, guys.

 

I'm working on importing data from Oracle. I'm querying from a table with about 12 million records.

 

The order_date is the varchar(8) and out_date is the date type.

 

This is the first query:

SELECT *
FROM view_bi_runsheet
WHERE out_date BETWEEN TO_DATE ('2016/11/01', 'yyyy/mm/dd')
AND sysdate

 

This query caused an ORA-01013 error.

 

So this is the second query:

 

SELECT *
FROM (SELECT *
      FROM VIEW_BI_RUNSHEET
      WHERE TO_NUMBER(ORDER_DATE) >= 20140701
        AND TO_NUMBER(ORDER_DATE) < 20150101) od
WHERE od.out_date BETWEEN TO_DATE ('2016/11/01', 'yyyy/mm/dd')
  AND TO_DATE ('2018/07/03', 'yyyy/mm/dd')+1

 

Perhaps the first query was a time out because of a table full scan.

I wonder if I can set a query timeout because I can not touch the server side.

 

Window environment, ODAC installed and connected to power BI Desktop.

 

please, explain if you can change the timeout time through tnsnames.org file or any other setting.

 

p.s An error usually occurs after 25 to 35 minutes of running the query.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

 

Maybe you can try to modify your command timeout parameter to work through this issue:

4.PNG

 

Regards,
Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous,

 

Maybe you can try to modify your command timeout parameter to work through this issue:

4.PNG

 

Regards,
Xiaoxin Sheng

Anonymous
Not applicable

This field does not accept 0 or -1 - How do I stop Power BI from forcing a timeout?

 

 

Anonymous
Not applicable

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors