Column-specific VS Star (*) Query

In this forum you can share stuff related to Oracle 11g, 10g, 9i.
Post Reply
backscratcher
Posts: 11
Joined: Thu May 11, 2006 3:22 am
Location: Philippines

Column-specific VS Star (*) Query

Post by backscratcher »

Has anyone noticed that a star query (all columns) works but when a specific column (even just 1) is specified that the query actually hangs. I'm using TOAD.

Example:
SELECT * FROM CUST_HIST WHERE CUST_INQ_ID = '23454' -- this returns results in just a couple of seconds.

SELECT CUST_REQ_FORM_ID FROM CUST_HIST WHERE CUST_INQ_ID = '23454' -- this hangs.

Where does the problem lie?
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests