DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Query a Partition Directly?

  1. #1
    Join Date
    Jan 2001
    Posts
    515
    I want to narrow my query to a particular partition on the table. I looked up how to do it and I keep getting an error. Can anyone help?
    SQL> select count(1) from hsbcloader.txn (TXN_OCT2000);
    select count(1) from hsbcloader.txn (TXN_OCT2000)
    *
    ERROR at line 1:
    ORA-00933: SQL command not properly ended


  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Assuming TXN_OCT2000 is your partition:
    select count(1) from hsbcloader.txn partition (TXN_OCT2000);
    Jeff Hunter

  3. #3
    Join Date
    Jan 2001
    Posts
    515

    thanks

    Thanks for the help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width