List sequences in database

Hello, please, is there any way I can query database for sequences? I see Database only offers openSequence and removeSequence. Basically I have a system which uses many sequences (each day has a sequence) and I do not need older ones. As the database grows I would like to list old and remove them. Rather than guessing their names--names are based on date so I can manage somehow but an API for listing sequences would be great to have. Thanks

Hi Peter,
Each sequence is a record in a database. You specify the record key and the database when you open the sequence. To query these records, use the Database and Cursor APIs just as you would for any other database.
Does that answer your question?
--mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Model Number you have entered is not listed in our database. windows 7 upgrade

    i have purchased a Compaq Presario cq61 on the 24/07/09 (uk date) it came with vista home premium and it is in the eligible list on the hp support site for the windows 7 upgrade, but when i enter my serial number and product number into the arvato site, it says "We are sorry, but the Model Number you have entered is not listed in our database. "  i cannot see how this is possible as i meet the specifications to be able to upgrade to windows 7, what do i do?

    Please see: http://www.hp.com/country/us/en/mda/windows7/upgrade/index_ww.html to select your correct country or region.
    Carey Frisch
    Microsoft MVP
    Windows Expert - Consumer

  • To list only user databases with the size for a instance in sql server 2005

    Hi,
    I looking for T-SQl to  list only user databases with their size for a instance in sql server 2005

    Try this:
    use [databasename]
    go
    if convert(varchar(20),SERVERPROPERTY('productversion')) like '8%'
    SELECT [name], fileid, filename, [size]/128.0 AS 'Total Size in MB',
    [size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Available Space In MB',
    CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Used Space In MB',
    (100-((([size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100)) AS 'percentage Used'
    ,((CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100 as 'percentage used'
    FROM sysfiles
    else
    SELECT [name], file_id, physical_name, [size]/128.0 AS 'Total Size in MB',
    [size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Available Space In MB',
    CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Used Space In MB',
    (100-((([size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100)) AS 'percentage Used'
    --,((CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100 as 'percentage used'
    FROM sys.database_files
    go
    Or can refer below link:
    http://gallery.technet.microsoft.com/scriptcenter/All-Databases-Data-log-a36da95d
    Please click the Mark as answer button and vote as helpful if this reply solves your problem

  • Maxl/esscmd to get list of applications/databases that user has access to

    Is there any maxl/esscmd to get the list of applications/databases that a user has access to?
    I know that LISTGROUPUSERS 'groupName' -- this list all users of a group.
    Can anyone help please?

    MaxL
    display privilege user SomeUser;

  • List incarnation of database

    DATABASE VERSION = 10.2.0.3
    PLATFORM = AIX 3
    Could some one please let me know the meaning of ORPHAN, which is visible when ever i give list incarnation command.
    RMAN> list incarnation of database merlinp;
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1142887 1142888 MERLINP 3538586174 ORPHAN 1 06-APR-07.
    every time my rman backup is failing with the errors as
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20011: target database incarnation is not current in recovery catalog
    Target database was not opened with resetlogs. See below
    From TARGET DATABASE
    SQL> select RESETLOGS_CHANGE#, RESETLOGS_TIME from v$database;
    RESETLOGS_CHANGE# RESETLOGS
    1 06-APR-07
    From this we can see that Incarnation is already been registered in the catalog database.
    Plz let me know why my backup's are failing by looking at the above information.
    kumareshan

    There two points
    If 'reset database to incarnation <key>' was used to make an old incarnation current then restore the target database from a backup that matches the incarnation and mount it.You will need to do 'startup nomount' before you can restore the controlfile using RMAN Or use 'reset database to incarnation <key>' make the intended incarnation current in the recovery catalog.
    Additionally you can see Doc ID: Note:48364.1.
    Adith

  • Cannot add new items to a value list in AW database

    I have a database which I have been using for many years. One of the fields is a value list. I just went to add another item to the list, and no matter what I do, the Create button is grayed out. I have another value list in the same database that works fine.
    There are currently 170 items in the value list that is causin the problem, but I didn't think that there was a limit to the number of items that can be is a value list. (At least there is nothing in the AW technical specifications to indicate thin. I duplicated the existing database, deleted about 20 items from the list, then saved the file, and reopened it, and still cannot add new items to that value list. Does anyone know what might be causing the problem?

    Oops
    I read too fast.
    Here is a short script which may help.
    Replace the pop-up item by a text one and edit the property myList in my script to fit your needs.
    Select the field to fill and run the script.
    Then choose an item in the displaid list. It will be pasted in the selected field.
    This trick would give you to work with a "no limit" list of items.
    -- [SCRIPT DB fillFieldFromAlist ]
    Assuming that
    the front document is a database one
    and that a text field is selected,
    run the script to select an item in a list
    and paste it in the field.
    Yvan KOENIG, Vallauris (FRANCE)
    le 19 mars 2007
    property MyList : {"item 1", ¬
    "item 2", ¬
    "item 3", ¬
    "item 4", ¬
    "item 5", ¬
    "item 6", ¬
    "item 7", ¬
    "item 8", ¬
    (* edit the list to fit your needs *)
    tell application "AppleWorks 6"
    activate
    tell document 1
    set laClasse to (get class of selection)
    if laClasse is not field then return (* the selection is not a field *)
    set myItem to choose from list MyList
    if myItem is false then return
    set the clipboard to myItem's item 1
    select menu item 7 of menu 3 (*
    Tout sélectionner •• Select All *)
    paste
    end tell -- document 1
    end tell -- AppleWorks
    -- [/SCRIPT]
    Yvan KOENIG (from FRANCE lundi 19 mars 2007 16:44:53)

  • How to make/connect a SP_2010 List a Web Database

    I have a MS Access front-end data entry database in a local network that is connected to a SP_2010 List that I use as backend.
    > I build another front end (let call it Dashboard DB) to display this database data
    > I then copy the SP List structure and data, make a Table and populated for my Dashboard DB, converted it to a Web Database, upload to SP_2010 to test, it works fine great SP/Access feature.
    > Now I need to replace the Web Database table with the SP List? Or link it.
    What I want to accomplish is to do data entry form a Local Network Client to a Web Database. How can I make my List the Web DB data source? I’ve seen that with SharePoint Designer you can make External Content Type, can this be done?
    Before someone ask, the data entry cannot be converted to Web DB (too complex)
    How can I make a SP_2010 List a data source (backend) for a MS Access database that has been upload to SP as Web Database?

    You can do that via SPD and BCS. Check out my article at
    http://sharepointdragons.com/2012/02/13/creating-a-bcs-net-assembly-connector/
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Apartment number not listed in Verizon Database

    Hi, my apartment number is not listed in Verizon's database. Somehow, Verizon can provide Internet services to everyone else in my apartment building except mine because mine is not listed. My address is {edited for privacy}. Can you please help?
    - John

    Just a friendly reminder, this is a forum where users help other users. It looks like your issue may require a Verizon representative. Please contact our customer service team via live chat or email at: http://www22.verizon.com/content/contactus/

  • Tables not listed in JDeveloper database connection..

    Hi,
    I am configuring a DBAdapter project in JDeveloper and the database is mssql server. I could connect to the DB but any of the schema objects are not displayed. I checked the permission for the user in the database and it seems fine and there is no filter . Infact, i can open a sql worksheet for the connected database session from JDeveloper and query tables from the schema. But for creating toplink files and creating the mapping between tables, JDeveloper needs the tables to be listed. But none of the schema objects are listed. Infact i tried with two drivers. One is MSSQL Driver 1.2 as well as JTDS 1.2.3 driver. For connections from both of the drivers, the schema objects are not listed. I dont know whether this is related to the permission for the dbuser to use database metadata or something to do with JDeveloper. Pls. help. I am using JDeveloper 10.1.3.4 and SQL Server 2005. Thanks in advance for your reply.
    Thanks,
    Kuppusamy.V.,

    Hi,
    The problem is while connecting to SQLServer, the database name should not be specified in the URL as jdbc:sqlserver://devserver111:1433/databaseName=testdb. It should be jdbc:sqlserver://devserver111:1433; This will list the tables for the user used to connect. Spent around 2 days to find the solution. Hope this one will save someone else's time.
    Rgds,
    Kuppusamy.V.,

  • List Creation From Database Table

    I have a form that has two data blocks based on database tables:
    Block #1 = ORDER_LINE
    Block #2 = ORDER_CODE
    The ORDER_LINE block has an item in it that corresponds to an item in the ORDER_CODE block. I want to create a TLIST for this item in the ORDER_LINE block that populates the list from the values for the corresponding item in the ORDER_CODE block. I know that I can use the POPULATE_LIST built in and need a record group, etc, but I have not been able to make any of this work. Can anyone provide good instructions on how to do this? I find the On Line Help within Forms to be totally useless.
    Thanks.

    976798 wrote:
    --Hello..I want to ask that How to bind a list item with  table values? this below code does not populate items from database to list item.Pls any body give me solution.
    declare
         group_id RecordGroup;
         list_id Item:=Find_Item('LST_CLASS');
         status number;
    begin
         group_id:=Create_Group_From_Query('Answer_List','select CLASS_ID,CLASS_NM from CLASS_MSTR');
         status:=Populate_Group('Answer_List');
         message(to_char(status));
         Populate_List(list_id,group_id);
         end;Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Oracle Forums FAQ
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>How to ask questions the smart way
    </ul>
    Following these simple guidelines will ensure you have a positive experience in any forum; not just this one!
    Check this link: How to Dynamically Populate a Pop List ?
    Hope this helps
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.

  • Getting list of populated database tables only

    Hi, recently started a new company and new to Oracle 10g. The database system they have has around 5000 tables. The majority of these are not used (it is an off the shelf package). What I am trying to do is get a list of all tables in the database BUT only those that contain records (not the empty tables) and then copy this to an excel spreadsheet. We use a tool called aquadata to run sql enquiry statements on.

    You didn't understand that reply. You could just spool this into a file with a .csv extension, and then open the file with excel.
    SQL> set head off
    SQL> spool xyz.csv
    SQL> select table_name from dba_tables where num_rows > 0;
    SQL> exit
    $ more xyz.csvEdit: And this is even easier: http://laurentschneider.com/wordpress/2007/05/export-to-excel.html
    Edit 2: All answers you are likely to get around here assume you use the built in Oracle tool called sqlplus. Many people think using the built in command line tool is much better for administrative tasks than some other tool. If you must do it in some other tool, you should ask how to do it whereever that tool is supported.
    Edit 3: You got an answer to the question you asked, but it could be your idea of "database" is what we call "schema" or "user." If you aren't logging in as a dba (which you shouldn't if you don't know the basic concepts, which you can and should read in the concepts guide), there is a similar table called "user_tables" in each schema, as well as one called "all_tables," which differs from user_table in that you may have been granted access to other user's tables. It may be in your tool, you could select table_name from user_tables where row_count > 0; and simply cut and paste that into excel. Or not. If you use dba_tables, you probably also want to select owner, table_name.
    Edited by: jgarry on Feb 9, 2012 9:31 AM
    Edited by: jgarry on Feb 9, 2012 9:38 AM
    Edited by: jgarry on Feb 9, 2012 10:58 AM

  • Database list in rsp database setting configuration

    Dear Experts
    When I see the Databases list in RSP under Configuration -> Databases -> Databases tab,
    it shows me already not existing and old version databases.
    I did an upgrade from SBO 2004.2B PL75 ,an old fashioned version to 8.81 PL09.
    When I see in SBO's company selection screen, there is only one database (ex: AA) with version 881317.
    But when I see in RSP, it shows AA with version 730277 and other old databases which are already deleted from SQL Server.
    Because of this problem, I cannot do run the  "System Data Service" in RSP. it shows compatible as X.
    It seems the old database information comes from SBO-COMMON.
    My customer is using SQL Server 2005 std.
    Do someone know how to solve this problem?
    Regards
    Gen Okazaki

    I created a massage to SAP ,get the answer and it has fixed.
    For other who has a same problem I'll attach the advice from SAP below.
    We would like to inform you that in order to try to resolve reported issue please do following:
    1. back up the SBO-COMMON database before running the fix
    2. DELETE [SBO-COMMON].dbo.SRGC
    3. EXEC TmSp_RefreshCompList
    4.SELECT dbName,cmpName,versStr FROM [SBO-COMMON].dbo.SRGC
    5. Check in RSP, if the issue still exists please kindly attach the related Service log file.
    Itu2019s under the RSP install folder,
    C:\Program Files (x86)\SAP\Remote support platform for SAP Business One\Service\Logs in case of a 64bit Operating System (OS)
    or
    C:\Program Files\SAP\Remote support platform for SAP Business One\Service\Logs in case of a 32bit OS
    As soon as you provide us the above we will continue investigating this issue.
    Your cooperation is much appreciated

  • List tables in database

    I am querying an Oracle Rbd. I want to retrieve a list of Tables that exist in the database. I have used the following SQL statements without positive results:
    SELECT * FROM ALL_TABLES
    SELECT * FROM DBA_TABLES
    SELECT * FROM USER_TABLES
    Can someone help me out?

    to get all the tables in the database via DBA_TABLES, you need DBA privs. otherwise you get an error.
    ALL_TABLES is all tables that you have privileges to (either direct grants, or via roles).
    USER_TABLES is the table owned (created) by the current user. its a view (they all are), so the results change based on what schema you are connect to when you query it.

  • How to list the rac databases on unix terminal

    Hi guys, I am trying to find out how to list all the rac databases on the unix terminal.
    the following command gives the list of all the databases running on a server
    *'ps -ef |grep smon | awk '{print $8}' | awk -F"_" '{print $3}''*
    of those databases i am trying to find the all the databases which are rac enabled.
    I tried srvctl status database -d 'database name'
    but with that i could find info on only one database at a time. So I am looking for a single command that lists out all the rac databases at a single go.
    can someone please help me figure out that command
    Thank You

    Try:
    srvctl config database

  • Custom Numbered List Sequence (example: F, G, H, J, K)

    Hey all,
    Is it possible to create a custom numbering sequence for a numbered list in InDesign?
    For example, rather than have my list go: F, G, H, I, J, K, we'd like to skip the I at every iteration and go straight to J.
    The reason for this is I work for a testing company, and our answer sheets don't have the letter I on them.
    Any help is greatly appreciated.
    Thanks!

    Hi,
    Yes. Really simple:
    Like this:

Maybe you are looking for