Deleting components from user database

Hi.
I created several components, and I want to delete some of them from user database.  But I can't understand how to do this.
Could you help me?
Thank You.

Use the database manager.
Tools>Database>Database Manager
Then select the Components tab and the User Database from the drop-down list: "Database Name"
See picture.
Ryan R.
R&D
Attachments:
Multisim User Database.png ‏21 KB

Similar Messages

  • Unable to delete Role from User ID in SAP SOLMAN production system but able to from DEV with the same authorization, pls suggest

    unable to delete Role from User ID in SAP SOLMAN production system but able to from DEV with the same authorization, pls suggest

    Hi,
    For SU01 role removal, you do not need S_USER_AGR with 02, and as you mentioned both authorizations available in production, if so trace should not show you the S_USER_AGR with 02 with RC=04.
    I would recommend to do role comparison for the user performing the activity. and then check if you have the S_USER_AGR with 02 in user buffer SU56.
    But ideally it should not ask you S_USER_AGR for 02 through SU01, so please take help of abaper to debug it.
    Also put trace in non-prd to see if S_USER_AGR is getting checked with 02 for removal through SU01.
    BR,
    Mangesh

  • Removing "Not Deleted" Mailboxes from a Database

    Before I go anywhere, let me explain what I mean by "Not Deleted" mailboxes - We will be deleting and recreating a pair of databases this weekend. A s part of this process, we move all mailboxes from these databases to the other 22 mailbox databases
    in the corporation, leaving our databases empty.  We then run a command to find the soft-deleted and disconnected mailboxes and handle them (remove the former and reconnect the latter so we can move them to another database).  When I ran this script
    on one of the two databases, I found that the database had two supposedly live mailboxes on it.
    So I ran Get-MailboxStatistics -Database and got info about these two mailboxes.  Neither shows as being SoftDeleted or Disconnected, and neither has a DisconnectDate.  So they should be live mailboxes, with an AD account.  So I checked them
    and found one had an account - but was on another database on a totally different server (in fact, in the other DAG).  And the other belonged to an account that was deleted last November.
    So, these two mailboxes appear to be zombies, with no life and no soul, but doomed to foil my plans to delete the database gracefully - they are all that stands between me and the success of my mission.  Now, I know I can take the database offline,
    delete the database files, and bring them back online and that will kill these zombie mailboxes, but I was hoping someone had a way I can delete them gracefully so I don't feel like I've just used a sledgehammer on my servers.  I tried Remove-StoreMailbox,
    but it requires that the mailbox have a status of either SoftDeleted or Disconnected - and from what I've read online, those are the only two accepted options.
    So I come to you for possible guidance - keep in mind that these are totally unnecessary mailboxes and I have no qualms about deleting the database if that what it comes down to.  Anyone have any other suggestions?  Thanks ...
    Will

    There were two active mailboxes showing from the "Get-MailboxStatistics -Database <database name>" command, even though the database showed no active mailboxes when running "Get-Mailbox -Database <database name>" command.  Neither of these
    had a disconnected date, and neither showed a value in the Reason field.  Now for your answers:
    1.  One of these mailboxes showed as being on another database, same GUID, etc, and was able to be accessed on that other database.  However, Get-MailboxStatistics - Database <database name> showed that it also existed on this database. 
    We couldn't connect an account to this mailbox, nor could we delete it - the command (below) said the mailbox was on another database (which it was).
    Connect-Mailbox -Identity <mbx GUID> -Database <name of the database we wished to delete> -User <account SAM account name> -Alias <account SAM account name> -Shared -DomainController <domain controller>
    2.  The command was what I show above.
    Post Mortem:  Since we had to delete the database, and since neither of them were needed, we just went forward with our work.  I was hoping we'd be able to remove these mailboxes gracefully, but none of the tools we had available worked for the
    job.

  • Completely delete OEM from the Database

    I would like to know how to completely drop and re-create the OEM from an Oracle Database. The emctl console application updates the OEM configuration files but does not allow you to delete the oem tables etc... completely from the database.

    This command doesn't work, I get the following error (-deconfig is not an option!):
    Incorrect usage:
    oracle.sysman.emcp.EMConfigAssistant [options] [list of parameters]
    Options:
         -a :configure for an ASM database
         -b :configure for automatic backup
         -c :configure a cluster database
         -e <node> :remove a node from the cluster
         -f <file> :specify the file name that contains parameter values
         -h :help
         -m :configure EM for a central agent
         -n <node> :add a new node to the cluster
         -r :skip creation of repository schema
         -s :silent mode (no user prompts
         -x <db> :deletion of a SID or DB
         -RMI_PORT <port> :specify the RMI port for DB Control
         -JMS_PORT <port> :specify the JMS port for DB Control
         -AGENT_PORT <port> :specify the EM agent port
         -DBCONSOLE_HTTP_PORT <port> :specify the DB Control HTTP port
    The script will prompt for any required data that is not specified in a configuration file. The script always prompts for all required passwords. If you use a configuration file, the file may contain any of the following specifications, as shown, with the specified values correctly filled in:
    Parameters for single instance databases:
         HOST=<Database hostname>
         SID=<Database SID>
         PORT=<Listener port number>
         ORACLE_HOME=<Database ORACLE_HOME>
         LISTENER=<Listener name>
         HOST_USER=<Host user name for automatic backup>
         HOST_USER_PWD=<Host user password for automatic backup>
         BACKUP_HOUR=<Automatic backup hour in number>
         BACKUP_MINUTE=<Automatic backup minute in number>
         ARCHIVE_LOG=<Archive log>
         EMAIL_ADDRESS=<Email address for automatic notification>
         MAIL_SERVER_NAME=<Email gateway for automatic notification>
         ASM_OH=<ASM ORACLE_HOME>
         ASM_SID=<ASM SID>
         ASM_PORT=<ASM port>
         ASM_USER_ROLE=<ASM user role>
         ASM_USER_NAME=<ASM user name>
         ASM_USER_PWD=<ASM user password>
         EM_HOME=<Enterprise Manager ORACLE_HOME>
         DBSNMP_PWD=<Password for dbsnmp>
         SYSMAN_PWD=<Password for sysman>
         SYS_PWD=<Password for sys>
    Parameters for cluster databses:
         HOST=<Database Instance hostname>
         PORT=<Listener port number>
         LISTENER=<Listener name>
         ORACLE_HOME=<Database ORACLE_HOME>
         CLUSTER_NAME=<Cluster name>
         DB_NAME=<Database name>
         SERVICE_NAME=<Service name>
         HOST_USER=<Host user name for automatic backup>
         HOST_USER_PWD=<Host user password for automatic backup>
         BACKUP_HOUR=<Automatic backup hour in number>
         BACKUP_MINUTE=<Automatic backup minute in number>
         ARCHIVE_LOG=<Archive log>
         EMAIL_ADDRESS=<Email address for automatic notification>
         MAIL_SERVER_NAME=<Email gateway for automatic notification>
         ASM_OH=<ASM ORACLE_HOME>
         ASM_PORT=<ASM port>
         ASM_USER_ROLE=<ASM user role>
         ASM_USER_NAME=<ASM user name>
         ASM_USER_PWD=<ASM user password>
         EM_HOME=<Enterprise Manager ORACLE_HOME>
         DBSNMP_PWD=<Password for dbsnmp>
         SYSMAN_PWD=<Password for sysman>
         SYS_PWD=<Password for sys>

  • Getting error while deleting rows from the database using the View Object

    Hi All,
    I am using jdev 11.1.1.4.0. I am removing the rows from the database using viewobject( quering the viewobject to find the records i want to delete).
    I am using vo.removeCurrentRow(0). Before this statement I am able to get the rows I want to delete.
    after that i am doing am.transaction.commit(). But I am getting the error..
    javax.faces.el.EvaluationException: oracle.jbo.DMLException: JBO-26080: Error while selecting entity for CriteriaEO
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.jbo.DMLException: JBO-26080: Error while selecting entity for CriteriaEO
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1117)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:553)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8134)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5863)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6369)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6551)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3275)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3078)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2088)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 53 more
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00972: identifier is too long
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:869)
    Please give suggestions...
    Thanks
    Kanika

    Hi,
    First Run Application module and confirm whether model project is OK,Cause for the Error is Caused by: java.sql.SQLSyntaxErrorException: ORA-00972: identifier is too long
    check:
    Issues with table/column name length
    identifier is too long
    I guess following error occurred because above issue
    JBO-26080: DMLException
    Cause: An unexpected exception occurred while executing the SQL to fetch data for an entity instance or lock it.
    Action: Fix the cause for the SQLException in the details of this exception.
    See:
    http://download.oracle.com/docs/cd/A97337_01/ias102_otn/buslog.102/bc4j/jboerrormessages.html#26080Hope you will helpful

  • Help needed in deleting nodes from RAC database

    Our DB is 10g RAC database and the servers are Window 2003 server. Initially the database was configured to have 4 nodes. For some reason we stopped the instances in the first two nodes and the current database is running on node3 and node4. I queried the v$thread view and it shows 3 records. Thread 2 is closed and disabled. Thread 3 is open and public and thread 4 is open and private. Now we need to disconnect nodes 1 and 2 from RAC db and cluster ware (We use Oracle cluster ware) and plan to use those two servers for other purposes. Although I read through the Oracle doc regarding deleting node from RAC “11 Adding and Deleting Nodes and Instances on Windows-Based Systems” and wrote down the steps we need to take but I am still not comfortable in doing it since it is production env and we don’t have any dev env to practice those steps. So I would like to borrow your experiences and your lessons learned while you were doing those. Please share your thoughts and insights with us.
    Thank you so much for your help,
    Shirley

    what's your full version? I can warn about specific issues in 10.1.0.3 and 10.2.0.1 - for example, in some cases (depending on how the listener was configured), it will be impossible to delete the listener for the deleted node. Known bug.
    To avoid many many known bugs, you may want to upgrade to at least 10.2.0.2 before removing a node (from my experience, this is the first stable RAC version).
    In any case, deleting a node is a rather delicate process. I really really recommend practicing. Take any pc/laptop, install VMWARE, define two virtual machines, install RAC and remove one node. It will take you an extra day or two, and could save your production.

  • Why not generating adf bc projects and components from offline database

    I imported offline database objects from my production database that is big. I would like designing some business components without necessarily the database running and be connected.
    Is it a reason why an adf bc project may necessarily connect to an on line database ?
    Why it is not possible to generate adf bc components from off line database objects ?

    The ADF BC design time has always required a database connection, to be able to test the validity of expert-mode SQL statement for one reason, but not the only one. We have not lifted that requirement in the 11g release.
    I filed ER# 6056701 to track your request. Thanks.

  • Is the way to retrieve the deleted pages from the database application

    Hi,
    I was just deleted the pages from my database application wizard. Now, i want to retrieve the deleted pages, can you help me to retrieve those pages.
    Thankyou.

    Halloween can be a scary time -- especially if you Oops your APEX application. Of course you can't travel back in time but through the miracle of flashback, you may be able to get the APEX appl. back to where it was when. I tried these approaches and was successful with them.
    *** This assumes flashback is running on the APEX schema(?). Your abiliy to go back a given number of minutes (or hours?) will depend on whether the saved values still exist in the database. ***
    A) If you modify a page and want to go back to what you had, say, about 30 minutes ago.
    1) Under the Utilities button (on that page), select History.
    2) Determine how far back in time you want to go by examining the list of editing changes displayed.
    3) Do a page export of that page (also under Utilities) and fill in “As of __ minutes ago”.
    4) If you don’t want to lose what you've got on the “damaged” page, copy it to another page number for now.
    5) Import the exported page file.
    6) Check if you got back what you wanted.
    7) If not, try an earlier (or later) time and have another go at it.
    B) If you deleted the wrong page in the application!
    1) Assuming the last thing you did was this deletion, export the entire application filling in “As of __ minutes ago”.
    2) Just to be careful, import the file to a different unused application number. Don't overwrite someone else's application.
    3) Copy the deleted page from the new application back to where you need it.
    4) Clean up by deleting the unneeded application.
    C) If, "Doh," you deleted the wrong application!!!!
    1) Are you able to retire? If no, then proceed!
    2) Create a minimal application (with a single page) with the same number as the one deleted.
    3) Export the application filling in “As of __ minutes ago” with an appropriate number of minutes.
    4) The export file should contain the code you need to restore.
    5) You can inspect it with an editor.
    Look about line 25 for" Pages: <number>".
    For specific pages look for "page_000nn".
    5) Import the file to the same appl. number. You should get everything back!
    YMMV: Your mileage may vary!
    I'll take my leave with the words of that immortal song:
    "Yes. Oops, Oops, Oopsie! Good Bye. But Oops, Oops, Oopsie. Don't Cry."
    (With apologies to Ted Fio Rito, 1900-1971.)
    Howard

  • Configuring Swing components from a database

    Hi All
    I'd like to be able to configure Swing components with information from a database e.g. text, color, editability etc. One approach I'm considering is extending existing components such a JTextField and adding a configure() method which takes as a parameter the primary key of the database record containing the config info.
    Has anyone comes across alternative design patterns for solving this?
    Regards
    Terry Child

    that is what I would do

  • How to remove Userscripts from Greasemonkey without enabling Greasemonkey? (I have deleted files from user/gm_scripts/ didn't help)

    I installed an addon named Chat Resizer, which is for Kongregate, restarted to finish the install and firefox would not open.
    Clicked it and clicked it nothing, Opened Task Manager, Ended the firefoxes and tried to open it again but nothing again.
    Started FF in safe mode, cannot remove chat resizer with greasemonkey disabled, trying to enable it to remove it firefox refuses to start.
    Uninstalled greasemonkey, FF works as normal, install it and it freezes once more.
    Removed files from user/appdata/roaming/mozilla/profile blah blah/gm_scripts which had files for all of my scripts in them,
    Firefox still won't start, uninstall greasemonkey, works again, install, doesnt work even with files for the scripts gone.
    Any more suggestions?

    Hello,
    I found this tutorial, i think must works:
    [http://ooiks.com/blog/mousehunt-autobot/install-uninstall-user-script-on-firefox How to Install and Unistall User Scripts Greasemonkey]

  • Deleting records from a Database using JTable

    Hello!
    I have a JTable that displays records from a database and a Jbutton .
    If i press the button i want that the record coresponding to selectedRow(from the JTable) to be erased from the database.How can i manipulate selectedRow from JTable to do that?
    Pls any suggestions (and if it's possible +code)?
    Thanks!

    Hi Margot,
    Let's assume that you have created a table using vectors. Simply remove the element from the vector at row selected and redraw. Maybe not the greatest solution but should work.
    Vector rowData = new Vector();
    //read in values for each row
    Vector headers = new Vector();
    //add your headers
    JTable table = new JTable(rowData, headers);
    int row = table.getSelectedRow();
    rowData.removeElementAt(row);
    table = new JTable(rowData, headers);HTH,
    Chris

  • Delete rows from a database

    Hi,
    I am a beginner in JSP and I have a problem, I hope my English will be good enough to explain it!
    I have a web application that displays records in a table from a postgres database. Each row must have a Delete button, so the user can delete the row he wants. How can I do this?
    This is an university exam so I can't use neither Javascript nor Structs, but only a little framework written by my teacher to teach us the use of a framework. But before that, I have no idea how can I write these Delete buttons. I suppose I have to use a bean, but how can I set a parameter that says "Please, delete that specific row"?
    Thank you!

    I would have many problems using numbers as you do, because the primay key of each row is an ID randomly generated... but the real problem is that my teacher doesn't allow any change. He wants buttons so I must use buttons... and he wants that I somehow pass some parameters, use beans... I ask myself if is it possible to do something like this:
    <jsp:useBean id="libro" scope="request" class="it.libreria.modello.Libro" />
    <form method="post" action="<%=response.encodeURL("cancellaLibro.cmd") %>">
    <table>
    <%
    Collection libri = (Collection)request.getAttribute("libri");
    Iterator iter = libri.iterator();
    while (iter.hasNext()) {
    Libro lib = (Libro)iter.next();
    %>
    <tr>
    <td><%=lib.getCodice() %></td>
    <td><%=lib.getTitolo() %></td>
    <td><%=lib.getAutore() %></td>
    <td><%=lib.getPrezzo() %></td>
    <td><%=lib.getN_copie() %></td>
    <td><input type="submit" name="Delete" value="<%= what can I put here? %>" /></td>
    </tr>
    <%
    %>
    </table>
    response.encodeURL("cancellaLibro.cmd") --> the action of the form pass by the framework written by my teacher -- I don't know if in other frameworks it's the same

  • Deleting tables from my database

    Hello,
    Due to the problem of failed installation, I have about 127 tables in my Sql database which I need to delete so as to re-install the same set of tables again. How do I do this effectively without causing other problems in the database.
    Thanks in anticipation.
    Regards.

    hi Praise_Him
    You got several great solutions above, for doing the operation (deleting) automatic for whole tables which their name start with "myprefix_". yet, it look you are looking for something else. I can get it, as you dont know what is done actually,
    then you afraid from executing those automatic queries.
    The time you spent writing your posts, you could actually delete the tables manually one by one. As this is a one time action, maybe you will feel better, and it will be more fit to your case, to do it using the SSMS GUI. Using 127 mouse cliks you can do
    check this link (especially the section "Using SQL Server Management Studio"):
    http://technet.microsoft.com/en-us/library/ms190616.aspx
    * What works for one person is not safe/suitable to another person. None of us as DBAs will probably chose this solution but I really have a feeling this is the best for you at this point. Just delete the tables one by one :-)
    * This will also be better in case there is other restriction as relations between the tables or other element in the database. working one by one if you get a specific problem you can come back and tell us what is the error message that did not let you
    delete a specific table.
    I Hope is helpful :-)
    ** In any case make sure that you backup the database before you start!
    [Personal Site] [Blog] [Facebook]

  • Delete Content from 2008SP01 Mailbox

    Hi, I'm having an embarrassing amount of trouble trying to empty a few mailboxes I have on a 2008 Exchange server I run.  We use this primarily for stress testing a few email clients with the exchange server. After a few months some user accounts get
    loaded with junk test mails I want to clear out.
    I was going to use the PS command below to just clear out the junk emails since they all have the same subject line where "April Stewart" is obviously the user account I want to clear. 
    Search-Mailbox -Identity "April Stewart" -SearchQuery 'Subject:"1111"' -DeleteContent (source)
    However, I get the error "A parameter cannot be found that matches the name 'deletecontent'. From looking around, I figured I would just assign the role "Mailbox Import Export Role" to the Administrator account I log into the server with.
    Unfortunately, I still seem to get the error message after I did that.  Did I assign the role incorrectly or mess up somewhere else? Thanks in advance.

    Hi Joffroi,
    According to your description and testing, I notice that you cannot use “DeleteContent” parameter in Serarch-Mailbox command.
    I want to double confirm the version of Exchange Server.
    If you want to delete message from user’s mailbox, you must assign the Mailbox Import Export role to the Organization Management role group, please run following command to double confirm:
    Get-ManagamentRoleAssignment –Role “Mailbox Import Export” | FL Name,*Role*
    Get-RuleGroup | Where {$_.Roles –Eq “Mailbox Import Export”} | Select Name
    If Mailbox Import Export Role isn’t exist in Organization Management role group, please open ECP to add properly role. For your reference:
    http://technet.microsoft.com/en-us/library/dd638202(v=exchg.141).aspx
    Please note to restart the EMS to complete the change after finish add the role to role group.
    More details about Search and delete messages, for your reference:
    http://technet.microsoft.com/en-us/library/ff459253(v=exchg.150).aspx
    Best Regards,
    Allen Wang

  • Script to Delete more than 1 user from the database

    Hi All,
    I have a list of users in a file and i want to write a script to delete all these
    users from my database.
    I have tried deleting users using:
    drop user user1,user2,user3..... but it doesn't seem to work.
    Can anyone suggest how do i read the users from the file and delete them one by one

    You can use an external table :
    SYS@db102 SQL> select username from all_users
      2  where username like 'USER%';
    USERNAME
    USER1
    USER2
    USER3
    SYS@db102 SQL> !cat users_to_drop.txt
    USER1
    USER2
    USER3
    SYS@db102 SQL> create table test.users_to_drop
      2  (
      3     userx   char(30)
      4  )
      5    organization external
      6  ( type oracle_loader
      7    default directory work
      8    access parameters
      9     ( records delimited by newline
    10     )
    11     location ('users_to_drop.txt')
    12  )
    SYS@db102 SQL> /
    Table created.
    SYS@db102 SQL> begin
      2     for U in (select userx from test.users_to_drop) loop
      3             dbms_output.put_line('Dropping '||U.userx);
      4             execute immediate 'drop user '||U.userx||' cascade';
      5     end loop;
      6  end;
    SYS@db102 SQL> /
    Dropping USER1
    Dropping USER2
    Dropping USER3
    PL/SQL procedure successfully completed.
    SYS@db102 SQL> select username from all_users
      2  where username like 'USER%';
    no rows selected
    SYS@db102 SQL>

Maybe you are looking for

  • Sent messages not going to sent folder

    I know this has been asked a bunch of times. This IPAD was purchased in May 2010. When I go to the sent box on the IPAD it shows the same emails as are in the inbox, but no sent messages I sent via the IPAD. I've read through all the emails discussio

  • How do I use a newer kernel in the netinstall USB image

    Hi, trying to install Arch onto my laptop. My laptop is a Acer 1410 and it seems to have a new wireless card. dmesg | grep firmware shows something like iwlwifi-1000-2.ucode firmware file req failed: -2 The problem is I can only find iwlwifi-1000-3.u

  • Server 2012 Essentials Connector Software fails to properly configure a Win8.1 Pro for domain connection

    I'm having problems getting the connector setup software to properly install and configure a machine for connecting to a domain running on a Windows Server 2012 r2 Essentials machine. The machine is a Windows 8.1 Pro laptop. I've successfully setup t

  • RFC in loop

    hi.. i used a rfc in a loop. every time in the pass the control is taking me to the logon of the remote system.but the control is not going into the respective function module..what is the problem

  • ITunes constantly opens by itself on Macbook Pro (2013)

    I've been dealing with this problem for about 2-3 months. I will be on another completely-unrelated program (Chrome or Photoshop) and it will suddenly open up. Sometimes it will play a random song. I can close and Force Quit it all I want to, but it