All SELECT statements work except of SELECT *

Hi,
I have one table with 2 rows in Oracle 10.1.0.2.0
All SELECT statements work (e.g. SELECT COUNT(*) FROM, SELECT COLUMNNAME FROM TABLE, etc.)
But when I execute SELECT * FROM it never shows any response in SQLPlus. I can view the data with Enterprise Manager Console - using View/Edit Content.
How this can be caused?
Thanks for reply.

Hi,
I don't get any error. I enter the SELECT * FROM statement run it and cursor jumps to next line and is blinking forever...
So I got no error response from database.
SELECT COLUMNNAME FROM works normally.
As I wrote the machine with database is probably used over its limits - I'm not DBA but SGA is set up to use about 90% of memory (as I learnt from other forums recomendation for Solaris/Sun is about 40%).
Unfortunatelly I have just 2 rows in my table. There are metadata in the table which are needed to get info about other tables in the database.
So I am wondering why is the database able to work normally but doesn't response to this statement. I run queries on other tables in database with millions of records, but I am not able to run this query.
Can be table somehow corrupted? It is strange...
Regards,
Petr

Similar Messages

  • Only select statements work (update/insert hang)

    Hi, I am running CF MX version 7,0,2,142559 Standard Edition
    and ColdFusion is hanging everytime I attempt an insert or update
    statement again Oracle 8i and 9i using the jdbc thin driver and an
    odbc socket driver.
    Select statements work fine. I have tried everything I could
    think of and I get the same results. All rights are given to the
    datasource and the user. I can do insert and update statement via
    another application (Toad) with the same Oracle user.
    Any suggestions??? I don't see any hot fixes for this but
    that doesn't mean one doesn't exist.
    Also, many times it causes the system cpu utlization to stick
    at 100% until I restart ColdFusion.
    Thanks for any help.

    Hi,
    I had similar results on Oracle 10G while using cfmx 7.02. I
    actually updated the macromedia_drivers.jar from the coldfusion
    support site.
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=42dcb10a
    An update to the datadirect JDBC drivers. Try that. If not,
    make sure you have the latest JDBC drivers from Oracle. Since
    previous versions would make the update/insert;s hang.

  • Select statement works in 8.1.5  but does not work in 8.1.7 why???????

    I have written a select statement as part of cursor in a
    Database Trigger, the following statement works fine in Oracle
    8i ver 8.1.5.0 but the same statement returns error PLS-00103
    (Parser related error) in Oracle 8i version 8.1.7.0!!!!!!
    The error shown is
    PLS-00103Encountered the symbol")" when expecting one of the
    following:
    from
    The Sql statement in a Database Trigger is as follows
    select opn_stk,iss_qty,rec_qty,ROWID
    from mnth_bal
    where to_date(lpad(to_char(month),2,'0')||to_char
    (year),'mmyyyy') >= SYSDATE AND
    REV_NO = :NEW.REV_NO AND
         ITEM_STOCK_ITEM_CD = :NEW.ITEM_CD and
    unit_cd = :NEW.unit_cd and
    store_cd = :new.store_cd
    order by to_date(lpad(to_char(month),2,'0')
    ||to_char(year),'mmyyyy') ;
    Can any one please tell me whats the problem ? In 8.1.5.0 the
    same statement in the trigger runs absolutely fine &
    compiles.Because of this problem the trigger is not compiling in
    8.1.7.0
    Would be grateful for any solutions given

    Relating line numbers in compile errors to source code.
    Oracle does not count blank lines in line numbers. Commenting
    with "--" blank lines or deleting blank lines will make the line
    counter more accurate.
    Oracle counts comments delimited with /*...*/ as one line, no
    matter how many lines are in the source code. Using only "--"
    will make the line counter more accurate.
    Oracle does not count lines before the PL/SQL block DECLARE when
    compiling triggers. (CREATE ... TRIGGER....FOR EACH...WHEN(...))
    parts of the syntax are not counted. The line in the source
    code with the DECLARE of the trigger's PL/SQL block will be line
    1.
    Hint: Avoid uncertainty. Use "SHO ERR TRIGGER <trigger_name>"
    when looking at compile problems.
    Good Luck....

  • How to optimize this select statement  its a simple select....

    how to optimize this select statement  as the records in earlier table is abt i million
    and this simplet select statement is not executing and taking lot of time
      SELECT  guid  
                    stcts      
      INTO table gt_corcts
      FROM   corcts
      FOR all entries in gt_mege
      WHERE  /sapsll/corcts~stcts = gt_mege-ctsex
      and /sapsll/corcts~guid_pobj = gt_Sagmeld-guid_pobj.
    regards
    Arora

    Hi Arora,
    Using Package size is very simple and you can avoid the time out and as well as the problem because of memory.  Some time if you have too many records in the internal table, then you will get a short dump called TSV_TNEW_PAGE_ALLOC_FAILED.
    Below is the sample code.
    DATA p_size = 50000
    SELECT field1 field2 field3
       INTO TABLE itab1 PACKAGE SIZE p_size
       FROM dtab
       WHERE <condition>
    Other logic or process on the internal table itab1
    FREE itab1.
    ENDSELECT.
    Here the only problem is you have to put the ENDSELECT.
    How it works
    In the first select it will select 50000 records ( or the p_size you gave).  That will be in the internal table itab1.
    In the second select it will clear the 50000 records already there and append next 50000 records from the database table.
    So care should be taken to do all the logic or process with in select and endselect.
    Some ABAP standards may not allow you to use select-endselect.  But this is the best way to handle huge data without short dumps and memory related problems. 
    I am using this approach.  My data is much more huge than yours.  At an average of atleast 5 millions records per select.
    Good luck and hope this help you.
    Regards,
    Kasthuri Rangan Srinivasan

  • N82 all mkeys dont work (except on/off key)

    Iam with a strange problem..
    its my second n82 (new phone) and i think it comes with a problem..
    when iam opening applications, pressing keys and making normal use of phone, it freeze and all keys dont work, only key that work is the power on key, and it change profiles, options only, i cannot turn off the phone, then i can remove battery or wait one or two minutes and it reboot, its a very strange problem because in my previous n82 i never see it happen
    well, this phone only come with nokia maps in microSD card, it was firmware v10, then i updated to v30 and no luck, same thing happen, i`ve tried two different cards and it happen anyway, ive formated too with 3 key and *#7370#.
    Have anyone experienced this same problem with n82?
    Since that i have 7 days for exchange it by a new phone, iam thinking about this
    Sorry my bad english

    iam testing it without memory card inserted and by while its working, ive formated my 8gb card too and all looks good again, if problem comes again ill test without sim card (i never imagine that it can cause this problem, thank you by advice).
    but i see people talking about nokia maps freezing, and first time that i open maps after 8gb card formatting it freeze phon.
    only a thing: in my previous n82 i was using sandisk card, in this new iam using kingston. no sure if really the card was causing it

  • All dashboard items work except stocks? Worked until Lion!

    After installing Lion, the stock portfolio on the dashboard doesn't work.  All other items work fine.  Help!

    I didn't have any Vanguard stocks listed, so I took out anything whose symbol ended in X.  Now the rest are working fine..
    Interestingly, we have 2 iMacs (same wireless network), and the other one works fine with all the symbols I used to have on mine!?!

  • How select statement works

    i like to know the in depth details how oracle process the select query...how it reads from the data block

    Straight from the concept manual:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96524/c01_02intro.htm#3437
    An Example of How Oracle Works
    The following example describes the most basic level of operations that Oracle performs. This illustrates an Oracle configuration where the user and associated server process are on separate machines (connected through a network).
    An instance has started on the computer running Oracle (often called the host or database server).
    A computer running an application (a local machine or client workstation) runs the application in a user process. The client application attempts to establish a connection to the server using the proper Oracle Net Services driver.
    The server is running the proper Oracle Net Services driver. The server detects the connection request from the application and creates a dedicated server process on behalf of the user process.
    The user runs a SQL statement and commits the transaction. For example, the user changes a name in a row of a table.
    The server process receives the statement and checks the shared pool for any shared SQL area that contains a similar SQL statement. If a shared SQL area is found, then the server process checks the user's access privileges to the requested data, and the previously existing shared SQL area is used to process the statement. If not, then a new shared SQL area is allocated for the statement, so it can be parsed and processed.
    The server process retrieves any necessary data values from the actual datafile (table) or those stored in the SGA.
    The server process modifies data in the system global area. The DBWn process writes modified blocks permanently to disk when doing so is efficient. Because the transaction is committed, the LGWR process immediately records the transaction in the online redo log file.
    If the transaction is successful, then the server process sends a message across the network to the application. If it is not successful, then an error message is transmitted.
    Throughout this entire procedure, the other background processes run, watching for conditions that require intervention. In addition, the database server manages other users' transactions and prevents contention between transactions that request the same data.

  • All my keys work all my keys work except my spacebar on my wireless keyboard

    all of my keys work on my wireless keyboard except the space bar.

    hi. first off, don't try anything about closing apps and all that, unless you make sure you've turned off quick nav to type. for some strange reason, in iOS 8, you can't type text into a edit field, if you don't turn that off. that's by pressing the left and right arrows together. if this isn't the problem, then i'd try toggling off the keyboard, then toggle off bluetooth on your device, then back on, and finally turn the keyboard back on.          

  • General settings wont respond properly, all other settings work except general

    i can access all other settings except for general, everything else works fine its just when i click on general it only shows the background and the settings in the top left corner, it doesnt freeze or anything, just nothing shows up, plz help

    Try the standard fixes:
    - Reset. Nothing is lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod.

  • My Ipad2 won't turn off.  I've tried the reset method,  holding both buttons down for at least 10 seconds, but this doesn't work. I'm on version 5.1.1 and all other functions work except that I cannot get onto the internet via wi-fi either.  Help ??

    My Ipad2 won't turn off.  I have tried the reset method by holding both buttons down for at least 10 seconds, but this doesn't work.  I can't get onto the internet via wi-fi either (don't have a 3G card fitted).  All other functions seem to be working OK including charging. Not had this problem before, but I recently upgraded software to 5.1.1 so is there a bug in there somewhere?

    Look at last link.
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130?tstart=60
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • What do you do when all sound quits working except the ringer on phone calls

    The only sound in my phone that is working is the ringer for phone calls. The sound for apps, keyboard clicks, notifications, texts etc is not working including plugging in my phone charger sound. Please help. This is happening at random.

    Annnnnnd....now the ringer doesn't work.  No wait.  It does.

  • I have an unlocked iphone 3gs running ios 6.0 currently with straight talk. I was able to get all the functions working except mms.Do you think this issue will be resolved ? I really would like that option on my phone. I have tried everything.

    Can't get mms. to work have, tried everything I have found online.ST tells me it's Apples' problem Apple tells me it's STs' problem.Does anyone think this issue will be resolved ? My phone is an Apple unlocked 3gs running ios 6.0 on Straight Talk using atts' towers.

    I am having the same problem but cannot get anything but the actual phone to work.  I have a unlocked 3GS running 6.0 (what was I thinking?).  No data whatsoever, no texting, no visual voicemail.  I simply cannot access the APN settings.  I have tried sim swap, I have tried APN changers.  I have been on the phone with ST tech support for hours and hours.  I have tried to get the answers from a "genius".  I am stuck and looking at Android devices, but would really like to keep using the iphone with Straight Talk.

  • All Apps not working except for Apple pre-installed Apps

    Last night I installed a couple of new apps from the app store and a few podcasts through iTunes (using sync). Phone worked fine afterwards, including the new apps I installed. This morning I noticed that when I try to run an app it starts to load and then immediately closes and returns to the phones main screen. After trying to launch several different apps, I realized that the only apps that will run are those which came pre-installed with the phone. None of additional apps (free or purchased) will run. Has anyone ran into this problem? I have tried resetting the phone, no change. The only other thing I can think of is to restore my phone from the back-up. Could this be a virus? Any thoughts would be greatly appreciated.

    There's another thread on the same problem here -- http://discussions.apple.com/thread.jspa?threadID=2226619&tstart=15
    I've been able to solve the problem (short term basis, it does re-occur) by deleting a purchased app (any app, even a free one) then repurchasing it from the phone.
    You do need a data connection (3G or WiFi) for this to work, of course.
    This is very much a kludge. I hope Apple can get this fixed, it really is a PITA, especially if you are travelling and use the phone as a PDA and phone.
    I hope this helps.
    coop

  • Double click select all does not work in web site's search area after going back.

    After updating from Firefox ESR v24.8.1 to v31.20 double click select all does not work in a search area after going back or searching again with the same input. It happens before clicking search icon and searching for something else double click select all does not work except it works for one word that's all.
    This issue is with all new Firefox ESR and None ESR I have tried. Also the issue is on all web sites like www.softpedia.com for example.

    Bugzilla has a different login system, unfortunately.

  • Using variable in select statement (php)

    I am having difficulty using a variable in a select
    statement.
    The following manual query (using a static date) works fine:
    $query_Recordset1 = "SELECT * FROM academyClasses WHERE
    classDate > '2006-06-01' ";
    However, If I use the following:
    $dateVar = date('Y-m-d');
    mysql_select_db($database_mw, $mw);
    $query_Recordset1 = "SELECT * FROM academyClasses WHERE
    classDate > $dateVar ";
    ALL records are returned, which means the $dateVar variable
    is not being recognized. I have compared the $dateVar values
    <?php echo $datetime; ?> against the actual value of my date
    field <?php echo $row_Recordset1['classDate']; ?> in my
    results table and it seems that the values are indeed accurate in
    terms of a date 2006-06-04 for example.
    My date field "classDate" is of a "date" type within the
    mysql database. I'm using Dreamweaver MX 2004 with Mac OSX 10.3.9.
    I'm sure this is just a syntax problem, at least I hope it
    is.
    Any help is greatly appreciated.

    On Wed, 7 Jun 2006 04:49:57 +0000 (UTC), "mgwaters"
    <[email protected]> wrote:
    >Thanks Gary. That did seem to get the select statement
    working, but I had to
    >enter a manual date as before $dateVar = '2006-06-01'; on
    the previous line of
    >code to actually get it to filter my records. So... it
    looks like my setting of
    >the date variable:
    > $dateVar = date('Y-m-d');
    > does not seem to be recognized within the SELECT
    statement.
    Try this:
    $query_Recordset1 = "SELECT * FROM academyClasses WHERE
    classDate>'$dateVar'";
    print $query_Recordset1;
    See what is in the SQL statement.
    Gary

Maybe you are looking for