SQL Search for range of money

One of my search fields is for Amount Paid... it's a drop down and it has the following options:
0-99
100-499
500-999
1000-4999
5000-9999
10000 +
The db column is DECIMAL (7,2)
How would I structure that portion of the query to return data based on the range selected?

For the queries that test for a range of values you would use the Between predicate:
Select * From MyTable where MyColumn between 0 and 99
Your script would need to evaluate the search term passed in and then convert that to the range value. You could easily parse the text value to obtain the two numeric values on each side of the "-" dash. Or just use an if/else condition.

Similar Messages

  • Can't search for ranges in BEX 7 as we were able to in BEX 3.5

    Hi,
    In 3.5 whether master data existed for a value or not, we were able to exclude a range of records using the variable for the InfoObject. In our case we had a selection type variable defined for 0VENDOR and could exclude Vendors in the range of 900000-999999 whether or not Vendor 999999 existed. (It doesn't in our system.) I am using 0VENDOR and this particular range as an example. The user may want to exclude different ranges.
    In BEX 7.0 we do not have master data for Vendor 999999, but we would still like to be able to exclude Vendors in the range of 900000-999999 so that whatever Vendors we do have in that range are excluded. We are using a selection variable. Running the query from its URL gives the following message when I click on the selection box for the selection variable for 0VENDOR, "Characteristic Vendor has no master data for '999999' or you do not have authorization". In trying to resolve this, I have done the following things:
    1. Basis ran traces to see if in doing this I was running into any authorization issues, but nothing showed up.
    2. Running the same query via RSRT and excluding the same range, '900000 - 999999' did not give an error messasge, but ran as it should exluding any Vendors in that range.
    3. Changing the setting 'Query Execution Filter Val. Selectn' on the InfoObject from 'Only Posted Values for Navigation" to "Values in Master Data Table" did not make a difference. We still were given an error message instead of being able to execute the query when we ran it on the web instead of using RSRT.
    4. Changing the setting on the query properties for 0VENDOR in the Advanced tab from "Only Posted Values for Navigation" to "Values in Master Data Table" did not make a difference. We still were given an error message instead of being able to execute the query on the web.
    Is there a way a user can enter a range of values without having to know that the endpoints exist in the data?
    Also, this is especially irksome because in addition to being able to run this query, the users want to bookmark it with the range excluded and run it later with just a date range change.
    Thanks in advance for your ideas and input.
    Thanks,
    Jeri
    Edited by: Jeri McNeany on May 16, 2011 10:24 PM

    Thank you for your suggestion. I want to make sure I understand you correctly so I have a few questions.
    Is this transparent table that you are using in your BW system or in your ECC system? Our BW and ECC systems are on different machines using different databases. Do you load the data from this table into your BW system for this to work? I think I understand that you are creating a way to create the missing master data so the BEX 7 query does not give the error message allowing the user to input their range of values.
    If I understand you correctly I would create my Z table in our ECC system with the fields you mentioned, create a DSO or something simple in our BW system and load the data each time a user wants to use a new range of values for the field so that the field's master data would exist.
    Am I understanding you correctly?
    I don't think this solution, if I am understanding it correctly, will work for us because I don't think I can just add new Vendor Numbers like you were able to do with a date field. The Vendor is tied to a lot of other things, master data, ...
    Thanks,
    Jeri
    Edited by: Jeri McNeany on May 17, 2011 4:55 PM
    Edited by: Jeri McNeany on May 17, 2011 8:16 PM

  • Searching AW database for range of dates in AW 6.2.4

    I can no longer use my Microsoftworks 4 on eMac since doing a clean install of OS 10.4.11. Prior to that it worked fine in Classic mode. I copied Works folder from old Mac 6500 via home network using ethernet connection to router. Setup program became corrupted when copying from Mac 6500 to eMac, so now unable to use MSWorks. Database was pure simplicity for copying individual fields to next record, searching for range of dates, and matching records with partial string using "contains" function.
    Now using AW 6.2.4 which is more powerful but not as simple to use. Is it possible to do any of those tasks in AW? If so, how?

    1) copying data into a field in a record from the corresponding field in the preceding record
    Not automatic, but no more complicated than copying the information from the first record, then command-down and command-V; command-down and command-V; command-down and command-V; etc.
    2) matching records containing partial string
    If the partial string is expected in a particular field, use the "Match Records..." dialog from the Organize menu. Looking for records containing the word, "hoopla" in the field named "event", enter the following command: FIND("oop",'event',1)
    -- Note single quotes around the fieldname, and double quotes around text to be found. -- Search multiple fields by imbedding multiple FIND statements in an OR statement.

  • How can I use SQL to search for a pattern within a field?

    Hello, Frank, Solomon, ect
    I am now faced with this particular scenario, I've got the SQL to search through a field to find text within the field, but I have to know what it is before it can look for it.
    What I have to do is this:
    Search through a field, for a pattern, and I won't know what the data is I am looking for. Can this be done in SQL?
    For instance, Here is my SQL this far, I was helped allot in order to get to this point.
    select table_name,
           column_name,
           :search_string search_string,
           result
      from (select column_name,
                   table_name,
                   'ora:view("' || table_name || '")/ROW/' || column_name || '[ora:contains(text(),"%' || :search_string || '%") > 0]' str
              from cols
             where table_name in ('TABLE1', 'TABLE2')),
           xmltable (str columns result varchar2(10) path '.')
    When you execute the above SQL, you have to pass in a value. What I really need is to alter the above SQL, to make it search for a pattern that exist's within the text of the field itself.
    Like for instance, lets say the pattern I am looking for is this" xx-xxxxx-xxxx" and it's somewhere in a field.
    I need to alter this SQL to take this pattern and search through all the schemas and tables to look for this pattern match.
    Can be done?

    When you use something dynamically within a function or procedure, roles do not apply and privileges must be granted directly.  So, you need to grant select on dba_tab_cols directly.  If you want to do pattern matching then you should use regular expressions.  The following example grants the proper privileges and uses regexp_instr to find all values containing the pattern xxx-xxxx-xxxx, where /S is used for any non-space character.  I limited the tables in order to save time and output for the test, but you can eliminate that where clause.
    SYS@orcl> CREATE USER test IDENTIFIED BY test
      2  /
    User created.
    SYS@orcl> ALTER USER test QUOTA UNLIMITED ON USERS
      2  /
    User altered.
    SYS@orcl> GRANT CREATE SESSION, CREATE TABLE TO test
      2  /
    Grant succeeded.
    SYS@orcl> GRANT SELECT ON dba_tab_cols TO test
      2  /
    Grant succeeded.
    SYS@orcl> CONNECT test/test
    Connected.
    TEST@orcl> SET LINESIZE 90
    TEST@orcl> CREATE TABLE table1
      2    (tab1_col1  VARCHAR2(60))
      3  /
    Table created.
    TEST@orcl> INSERT ALL
      2  INTO table1 (tab1_col1) VALUES ('xxx-xxxx-xxxx')
      3  INTO table1 (tab1_col1) VALUES ('matching abc-defg-hijk data')
      4  INTO table1 (tab1_col1) VALUES ('other data')
      5  SELECT * FROM DUAL
      6  /
    3 rows created.
    TEST@orcl> CREATE TABLE table2
      2    (tab2_col2  VARCHAR2(30))
      3  /
    Table created.
    TEST@orcl> INSERT ALL
      2  INTO table2 (tab2_col2) VALUES ('this BCD-EFGH-IJKL too')
      3  INTO table2 (tab2_col2) VALUES ('something else')
      4  SELECT * FROM DUAL
      5  /
    2 rows created.
    TEST@orcl> VAR search_string VARCHAR2(24)
    TEST@orcl> EXEC :search_string := '\S\S\S-\S\S\S\S-\S\S\S\S'
    PL/SQL procedure successfully completed.
    TEST@orcl> COLUMN "Searchword"     FORMAT A24
    TEST@orcl> COLUMN "Table"     FORMAT A6
    TEST@orcl> COLUMN "Column/Value" FORMAT A50
    TEST@orcl> SELECT DISTINCT SUBSTR (:search_string, 1, 24) "Searchword",
      2               SUBSTR (table_name, 1, 14) "Table",
      3               SUBSTR (t.column_value.getstringval (), 1, 50) "Column/Value"
      4  FROM   dba_tab_cols,
      5          TABLE
      6            (XMLSEQUENCE
      7           (DBMS_XMLGEN.GETXMLTYPE
      8              ( 'SELECT ' || column_name ||
      9               ' FROM ' || table_name ||
    10               ' WHERE REGEXP_INSTR
    11                     (UPPER (' || column_name || '),''' ||
    12                  UPPER (:search_string) || ''') > 0'
    13              ).extract ('ROWSET/ROW/*'))) t
    14  WHERE  table_name IN ('TABLE1', 'TABLE2')
    15  ORDER  BY "Table"
    16  /
    Searchword               Table  Column/Value
    \S\S\S-\S\S\S\S-\S\S\S\S TABLE1 <TAB1_COL1>matching abc-defg-hijk data</TAB1_COL1>
    \S\S\S-\S\S\S\S-\S\S\S\S TABLE1 <TAB1_COL1>xxx-xxxx-xxxx</TAB1_COL1>
    \S\S\S-\S\S\S\S-\S\S\S\S TABLE2 <TAB2_COL2>this BCD-EFGH-IJKL too</TAB2_COL2>
    3 rows selected.

  • Neen help with date range searches for Table Sources

    Hi all,
    I need help, please. I am trying to satisfy a Level 1 client requirement for the ability to search for records in crawled table sources by a date and/or date range. I have performed the following steps, and did not get accurate results from Advanced searching for date. Please help me understand what I am doing wrong, and/or if there is a way to define a date search attribute without creating a LOV for a date column. (My tables have 500,00 rows.)
    I am using SES 10.1.8.3 on Windows 32.
    My Oracle 10g Spatial Table is called REPORTS and this table has the following columns:
    TRACKNUM Varchar2
    TITLE Varchar2
    SUMMARY CLOB
    SYMBOLCODE Varchar2
    Timestamp Date
    OBSDATE Date
    GEOM SDO_GEOMETRY
    I set up the REPORTS table source in SES, using TRACKNUM as the Primary Key (unique and not null), and SUMMARY as the CONTENT Column. In the Table Column Mappings I defined TITLE as String and TITLE.
    Under Global Settings > Search Attributes I defined a new Search Attribute (type Date) called DATE OCCURRED (DD-MON-YY).
    Went back to REPORTS source previously defined and added a new Table Column Mapping - mapping OBSDATE to the newly defined DATE OCCURRED (DD-MON-YY) search attribute.
    I then modified the Schedule for the REPORTS source Crawler Policy to “Process All Documents”.
    Schedule crawls and indexes entire REPORTS table.
    In SES Advanced Search page, I enter my search keyword, select Specific Source Group as REPORTS, select All Match, and used the pick list to select the DATE OCCURRED (DD-MON-YY) Attribute Name, operator of Greater than equal, and entered the Value 01-JAN-07. Then the second attribute name of DATE_OCCURRED (DD-MON-YY), less than equals, 10-JAN-07.
    Search results gave me 38,000 documents, and the first 25 I looked at had dates NOT within the 01-JAN-07 / 10-JAN-07 range. (e.g. OBSDATE= 24-MAR-07, 22-SEP-), 02-FEB-08, etc.)
    And, none of the results I opened had ANY dates within the SUMMARY CLOB…in case that’s what was being found in the search.
    Can someone help me figure out how to allow my client to search for specific dated records in a db table using a single column for the date? This is a major requirement and they are anxiously awaiting my solution.
    Thanks, in advance….

    raford,
    Thanks very much for your reply. However, from what I've read in the SES Admin Document is that (I think) the date format DD/MM/YYYY pertains only to searches on "file system" sources (e.g. Word, Excel, Powerpoint, PDF, etc.). We have 3 file system sources among our 25 total sources. The remaining 22 sources are all TABLE or DATABASE sources. The DBA here has done a great job getting the data standardized using the typical/default Oracle DATE type format in our TABLE sources (DD-MON-YY). Our tables have anywhere from 1500 rows to 2 million rows.
    I tested your theory that the dates we are entering are being changed to Strings behind the scenes and on the Advanced Page, searched for results using OBSDATE equals 01/02/2007 in an attempt to find data that I know for certain to be in the mapped OBSDATE table column as 01-FEB-07. My result set contained data that had an OBSDATE of 03-MAR-07 and none containing 01-FEB-07.
    Here is the big issue...in order for my client to fulfill his primary mission, one of the top 5 requirements is that he/she be able to find specific table rows that are contain a specific date or range of dates.
    thanks very much!

  • Need help with date range searches for Table Sources in SES

    Hi all,
    I need help, please. I am trying to satisfy a Level 1 client requirement for the ability to search for records in crawled table sources by a date and/or date range. I have performed the following steps, and did not get accurate results from Advanced searching for date. Please help me understand what I am doing wrong, and/or if there is a way to define a date search attribute without creating a LOV for a date column. (My tables have 500,00 rows.)
    I am using SES 10.1.8.3 on Windows 32.
    My Oracle 10g Spatial Table is called REPORTS and this table has the following columns:
    TRACKNUM Varchar2
    TITLE Varchar2
    SUMMARY CLOB
    SYMBOLCODE Varchar2
    Timestamp Date
    OBSDATE Date
    GEOM SDO_GEOMETRY
    I set up the REPORTS table source in SES, using TRACKNUM as the Primary Key (unique and not null), and SUMMARY as the CONTENT Column. In the Table Column Mappings I defined TITLE as String and TITLE.
    Under Global Settings > Search Attributes I defined a new Search Attribute (type Date) called DATE OCCURRED (DD-MON-YY).
    Went back to REPORTS source previously defined and added a new Table Column Mapping - mapping OBSDATE to the newly defined DATE OCCURRED (DD-MON-YY) search attribute.
    I then modified the Schedule for the REPORTS source Crawler Policy to “Process All Documents”.
    Schedule crawls and indexes entire REPORTS table.
    In SES Advanced Search page, I enter my search keyword, select Specific Source Group as REPORTS, select All Match, and used the pick list to select the DATE OCCURRED (DD-MON-YY) Attribute Name, operator of Greater than equal, and entered the Value 01-JAN-07. Then the second attribute name of DATE_OCCURRED (DD-MON-YY), less than equals, 10-JAN-07.
    Search results gave me 38,000 documents, and the first 25 I looked at had dates NOT within the 01-JAN-07 / 10-JAN-07 range. (e.g. OBSDATE= 10-MAR-07, 22-SEP-07, 02-FEB-08, etc.)
    And, none of the results I opened had ANY dates within the SUMMARY CLOB…in case that’s what was being found in the search.
    Can someone help me figure out how to allow my client to search for specific dated records in a db table using a single column for the date? This is a major requirement and they are anxiously awaiting my solution.
    Thanks very much, in advance….

    raford,
    Thanks very much for your reply. However, from what I've read in the SES Admin Document is that (I think) the date format DD/MM/YYYY pertains only to searches on "file system" sources (e.g. Word, Excel, Powerpoint, PDF, etc.). We have 3 file system sources among our 25 total sources. The remaining 22 sources are all TABLE or DATABASE sources. The DBA here has done a great job getting the data standardized using the typical/default Oracle DATE type format in our TABLE sources (DD-MON-YY). Our tables have anywhere from 1500 rows to 2 million rows.
    I tested your theory that the dates we are entering are being changed to Strings behind the scenes and on the Advanced Page, searched for results using OBSDATE equals 01/02/2007 in an attempt to find data that I know for certain to be in the mapped OBSDATE table column as 01-FEB-07. My result set contained data that had an OBSDATE of 03-MAR-07 and none containing 01-FEB-07.
    Here is the big issue...in order for my client to fulfill his primary mission, one of the top 5 requirements is that he/she be able to find specific table rows that are contain a specific date or range of dates.
    thanks very much!

  • Search for LIFNR case insensitive + range

    Ladies and gentlemen,
    I could use your help. I need to select rows from LFA1 where the name (NAME1) matches a string. It has two difficult points, which I were not able to combine into a single solution, even after all the research I done.
    - I need the search to be case insensitive (I found a partial solution here)
    - I need to combine it with a range table
    So: I need a case insensitive search using range table. Can this be done effectively? Or is there any workaround you could suggest? This is just a minor part of the report about invoices and must not take long.
    Thank you for the time and effort,
    Cheers Otto

    Thank you, guys,
    you are very helpful, your ideas solved my problem. The MCOD* idea is easy/fast and solve my problem very well. I don´t understand why I didn´t find it myself. Hope to pay you back one day:))
    For others interested:
          DATA sx_dodnam TYPE TABLE OF z_dodnam_range.
          DATA wa_dodnam LIKE LINE OF sx_dodnam.
          LOOP AT s_dodnam INTO wa_dodnam.
            TRANSLATE wa_dodnam-low  TO UPPER CASE.
            TRANSLATE wa_dodnam-high TO UPPER CASE.
            APPEND wa_dodnam TO sx_dodnam.
          ENDLOOP.
          SELECT lifnr INTO wa_lifnr-low FROM lfa1 WHERE stcd2 IN s_ico AND mcod1 IN sx_dodnam.
            IF sy-subrc = 0.
              wa_lifnr-sign = 'I'.
              wa_lifnr-option = 'EQ'.
              APPEND wa_lifnr TO lt_lifnr.
            ENDIF.
          ENDSELECT.
    Cheers Otto

  • Searching for numeric values in a text field / SQL Server

    Hi all,
    here's a problem that I've been trying to solve for several days: I try to select rows from an MS SQL Server via JDBC that contain a certain numeric value at a certain position in a long varchar field.
    I'm using queries like
    select * from table where substring(field_1, 37, 7) like '1011234';Those queries always return an empty ResultSet. If I use the same queries in WinSQL, I get correct results (several rows).
    The application code is working in principle; if I search for a text instead of a numeric value, for example select * from table where substring(field_1, 4, 5) like 'Paper'; , I get a complete ResultSet.
    I've tried many variations (= instead of like, search in the entire field (without substring but with like '%1011234%'), with or without ', and more), but that didn't change anything.
    It's also most probably not caused by the JDBC driver; I have tried JTDS first, and then the MS driver (newest versions) - no difference.
    One idea was that the sort order is not correct, tried some COLLATE settings, but that didn't help so far. In this context I'd like to know how to determine the collation sequence of a certain column.
    Another thing I tried was using CAST, for example SELECT * FROM table WHERE CAST(SUBSTRING(field_1, 37, 7) as bigint) = CAST('1011234' as bigint); or SELECT * FROM table WHERE CAST(SUBSTRING(field_1, 37, 7) as bigint) = CAST(1011234 as bigint);, but that didn't help either.
    Some facts:
    Server: Microsoft SQL Server, version 09.00.2047
    Driver in WinSQL: SQLSRV32.DLL, version 03.85.1117
    JDBC-Driver:
    - JTDS, version 1.2
    - Microsoft SQL Server 2005 JDBC Driver, Version 1.2
    JVM: jre1.5.0_11
    I didn't find anything on Google, or in this forum, or other forums. I really hope someone here can help me. Thanks in advance!
    Best regards,
    Uica

    Your note suggests to me that this is a coding problem, not a JDBC or SQL problem unless you are hitting a bug in the SQL Server JDBC driver. Others may have ideas from what you have written, but I think it would be helpful to see the actual code that you are executing that does not bring back the results that you are expecting (don't forgot to use code tags to format your code correctly).
    It might also be helpful to execute a query (from within your Java code) to ensure that you are connecting to the right database, accessing the correct table and that your substring is using the correct offset. The query would look something like this (and then of course display the list of results):
    SELECT substring(field_1, 37, 7) from table

  • How to configure SharePoint 2010 / 2013 Search for SQL Database Contents and Oracle Database Contents?

    Hi All,
    We are planning to maintain the contents in SQL / Oracle. Could you please suggest anyone which is best for SharePoint 2010 / 2013 Search. How to configure the search for external content source?
    Thanks & Regards,
    Prakash

    This link explains supported and non supported scenarios to use Oracle for BCS
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/453a3a05-bc50-45d0-8be8-cbb4e7fe7027/oracle-db-as-external-content-type-in-sharepoint-2013
    And here is more on it
    http://msdn.microsoft.com/en-us/library/ff464424%28office.14%29.aspx 
    And here how you can connect Oracle to SharePoint for BCS functionality
    http://lightningtools.com/bcs/business-connectivity-services-in-sharepoint-2013-and-oracle-using-meta-man/
    Overall it seems SQL doenn't require any special arrangement to connect BCS to SharePoint.
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • SQL Command for searching

    I have a database with fields containing large amounts of text. I wish to be able to search the text in the database using a sql command. I have a number of problems:
    1. I will not know in advance how many words the user will be searching for eg 'Holidays' or 'Holidays in England' so how can I split these up and search effectively?
    2. What is the SQL command to use to check in the database field to see if it has any of the related strings?
    Any help would be greatly appreciated.

    1.Use StringTokenizer to split the words in your search string
    StringTokenizer st = new StringTokenizer("query_string"," ");
    2.Suppose it has 2 tokens then, construct a query like this, (You can use st.countTokens() to get the token count)
    Select * from table where col1 like '%token1%' or col1 like '%token2%'
    Hope this helps.
    Sudha

  • SQL statement for Search Box

    I am looking for a SQL statement for Search Box in the sample application.
    Anyone knows about these issues?
    Thanks in advance,
    Sam
    Edited by: samNY on Mar 13, 2009 2:18 PM

    Thank Manish,
    Could you tell me how to restrict in following codes?
    select
    e.EQUIPMENT_ID,
    e.HOST_NAME,
    e.SERIAL_NUMBER,
    e.CITY,
    e.ROOM,
    e.RACK,
    e.CR_DT,
    e.CR_USR,
    e.LM_USR,
    e.LM_DT,
    e.TASK_TASK_ID
    from SVR_EQUIPMENT e
    where
    instr(upper(e.SERIAL_NUMBER),upper(nvl(:P1_REPORT_SEARCH,e.SERIAL_NUMBER))) > 0 and
    instr(upper(e.CITY),upper(nvl(:P1_REPORT_SEARCH,e.CITY))) > 0 and
    instr(upper(e.CR_USR),upper(nvl(:P1_REPORT_SEARCH,e.CR_USR))) > 0 or
    instr(upper(e.LM_USR),upper(nvl(:P1_REPORT_SEARCH,e.LM_USR))) > 0
    Thanks for all again,
    Sam

  • Easiest way to search for a keyword in over 100 dts packages on a complex SQL 2000 server

    Hi,
    Can anyone tell me the easiest way to search for a keyword (e.g. myfilename.txt) in over 100 dts packages on a complex SQL 2000 server please. I've searched the internet for a solution, and there seem to be various third party tools available, etc. However
    ideally I would like to be able to run a block of code which returns the result within query analyser, since this SQL 2000 server is a production server and I'd rather not have to go through change management for investigation purposes.
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    See if this helps
    http://www.sqlservercentral.com/Forums/Topic169278-19-1.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Env. variable for sqlPlus to search for sql scripts?

    On Oracle 11.2, on win / (or Win 2008 64bit) I would like to start sqlPlus and call some package scripts wich are in $ORACLE_HOME\rdbms\admin folder..
    but I would not like to move to that folder or to call scripts with full filename..
    so, is there some environment variable wich tells sqlPlus in wich folder to search for .sql (.plb & other) scripts?
    regards,
    EDIT: I think it should be something like ORACLE_PATH
    Edited by: 846417 on Jul 19, 2011 5:34 AM

    Try SQLPATH

  • How to search for citation range? (regex)

    Suppose that I have an academic paper, the citations in which are compressed. For example, [3-5] means citation 3, 4 and 5.
    Suppose that I want to search for where 4 is cited. Becasue there is a huge amount of ways 4 is cited for example [1-8], [2-5], ....
    I have to resort to Regular Expression (regex) or some advanced search features. But I'm not what is available in Acrobat to allow me perform such a search. Could anybody give me any hint?

    Bring the Finder to the front.
    Press command-F.
    In the window that appears click one of the + buttons on the right.
    A drop down box called 'Kind' will appear, click it and choose other.
    Select System files from the list and complete your search.
    Macosxhints had a way to make the finder search them as a default behaviour but I can't find it.

  • Search for tablenames in the database using native sql query script

    How do i search for the names of the tables in the database using select statement? I do not know the names of the tables but I know the name of the database and i do not have the sys priviliges.
    thanks
    SS

    SELECT owner, table_name
    FROM all_tables;

Maybe you are looking for

  • Installation problem of Weblogic 5.1 on Tru64 5.1

    It has been mentioned in Release notes that Weblogic 5.1 works with jdk1.2.2 on Tru64 Unix version 5.1. The following were the activities carried out on Compaq Tru64 OS : 1.Weblogic 5.1 server and Weblogic 5.1 SP8 has been downloaded (specifying the

  • Error while activating the ods ( prod.issue)

    Hi BW guru's I am facing major issue while activating the ods i am getting this below error. <b>Request REQU.....,data package 000002incorrect with status 5 Request REQU.....,data package 000001 incorrect with status 5.</b> If any1 has come across th

  • How to create a fill in the blank program?

    Hey everyone, So I am working on a new program that requires a fill in the blank section. I am loading the data via xml as a paragraph, but what I am wondering is how to take this data and make a simple fill in the blank section where if it is right,

  • Server Not Showing on Client Desktop - afp

    I've been having trouble lately with logging into my home iMac from my MacBook via the internet (Go->Connect to Server (afp://server DNS url)). It worked just fine until a couple of weeks ago, and now when the connection is made by choosing my accoun

  • Internal number range for SP

    Hi All, Please help to find out why system does not assign continuous running number for new sold-to-party account group.Why Internal number range of sold-to-party assigned by system not in running sequence. Thanks & Regards, Pallavi