Searching sting in entire database

hi all,
does anyone see a solution to search for ascertain string in all tables in all rows in the hole database :-)
something like
select * from all_tables where all_rows like '%MYSTRING'
*T                                                                                                                                                                                                                                                                                                                                                                                                           

Hi,
I try to program some bar diagrams how log the backups are running.
Some information there are available in grid control I can not find in the database.
Maybe I don't know the right table !.
So I will search for e.G my system cluster name in all tables to find the relationship between backup jobname the hostname ( cluster node )and the clustername.
Thx
*T                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Searching entire database

    i love sqldeveloper. am moving from oraedit. however oraedit had a search database feature. it would search pl/sql functions, triggers, procedures,etc fort a string and return each occurrence and the line number of the module where found. you could then click on the line number you wanted and it would open the source into an editor.
    not asking for all of that but would like to be able to search the entire database for a string.
    is this possible?

    Alessandro,
    I have yet to replicate K's buggy report search for text. However, there is a limitation in the current release that if you use the shipped report to find your text, in that it goes to the top of the code which contains your string. In the next release the report will go to the lin of code that contains your string. So that bug has been fixed.
    In the next release we are also providing a more detailed search capability to allow users to search for columns in tables and strings in code, in addition to the current search which looks for objects in schemas.
    Sue

  • How search happens in oracle Database

    Select emp_name from employee where salary > 10000;
    How a search occurs in oracle database where there is a index in salary column and when there is no index in salary column

    user8850066 wrote:
    i just want to know what happens internally to get the data.That is actually very complicated to answer. Oracle is a powerful and sophisticated piece of software, and what happens internally can vary based on configuration, data volume, and what else is happening. Books, papers and even entire conferences are dedicated to this question. Many myths abound, mostly from oversimplifications and improper assumptions about how Oracle works. The docs are good, but not so much for what is really happening internally.
    It is good to be curious. As the others said, read the concepts manual, then read the performance guide and apply what you see to learn what is happening. As you learn more and more, you'll discover even many guru's consider the database a black box that we can only poke at and infer what is happening inside. Oracle does have a lot of instrumentation to see what is going on, but when it comes down to it, we're all still surprised at times about what must be happening.
    I'd also recommend Tom Kyte's books, after you've digested the basics (some of which he wrote anyways). He has two great strengths: He explains what is happening clearly, and he shows you how to figure it out for yourself. Also Richard Foote's blog is excellent for the index half of your question, though it might be a bit much if you don't know the basic concepts.
    As you read through the concepts, you'll realize your question has to account for things like:
    Is it faster to get the data with one process or many?
    Are other people modifying the data?
    Do you want to get all the data as quickly as possible, or some of the data faster?
    Do you know a better way to get the data than Oracle can figure out?
    What are you going to do with the data when you get it?
    What if the computer crashes while you are getting it?
    What if the definition of the table changes while you are trying to get the data?
    What if the data is far away?
    What if someone doesn't want you to see it?
    What if you also need to get some other data too?
    All these and more can influence what Oracle does internally. On some basic level, you can say Oracle will do a full table scan or a modified b-tree index search, but beyond that, it can go nuts.

  • Problem rename sharepoint 2010 search service application admin database

    Hi all,
    i have a problem that hopefully someone has an answer to.  i am not too familiar with sharepoint so please excuse my ignorance.
    we have sharepoint 2010 on a windows 2008r2 server.  everything seems to work fine.  but as you know, the default database names are horrendous.  i have managed to rename all of them, except for the "search service application" admin
    database.
    the default is: Search_Service_Application_DB_<guid>
    the other 2 databases (crawl and property) were renamed without a problem.
    we are following the article from technet on how to rename the search service admin db (http://technet.microsoft.com/en-nz/library/ff851878%28en-us%29.aspx).  it says to enter the following command:
    $searchapp | Set-SPEnterpriseSearchServiceApplication -DatabaseName "new database name" -DatabaseServer "dbserver"
    however, i get an error about identity being null.  no big deal, i add the -Identity switch and the name of my search service application.  but the real problem comes the error it throws:
    Set-SPEnterpriseSearchServiceApplication : The requested database move was aborted as the associated search application is not paused.
    At line:1 char:54
    + $searchapp | Set-SPEnterpriseSearchServiceApplication <<<<  -Identity "Search Service Application" -DatabaseName "SharePoint2010_Search_Service_Application_DB" -DatabaseServer "dbserver"
        + CategoryInfo          : InvalidData: (Microsoft.Offic...viceApplication:
       SetSearchServiceApplication) [Set-SPEnterpriseSearchServiceApplication], I
      nvalidOperationException
        + FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.SetSearchS
       erviceApplication
    when i look at the crawling content sources, i see "Local SharePoint Sites" and it's status is Idle.  i even looked at this article on how to pause the search to no avail.  (http://technet.microsoft.com/en-us/library/ee808864.aspx)
    does someone know how i can rename my Search Service Applcation Admin database properly?  or at least "pause" that service so i can rename it?
    thank you all in advanced

    If you want to have no guids for your search admin db, i recommend you check out this script :)
    just delete your search service application (assuming you have just started)
    Alpesh Nakar's Blog
    Alpesh
    Just SharePoint Just SharePoint Updates
    SharePoint Conference Southeast Asia
    Oct 26-27 2010 Contributing Author
    SharePoint 2010 Unleashed
    MCTS: SharePoint 2010 Configuration
    MCITP: SharePoint 2010 Administrator

  • My iTunes keeps crashing.  I have uninstalled and reinstalled, including recreating the entire database, and it is still doing it.  I recently upgraded to 10.5.  Any ideas?

    My iTunes keeps crashing.  I have uninstalled and reinstalled, including recreating the entire database, and it is still doing it.  I recently upgraded to 10.5.  Any ideas?  I am running Windows 7 on a new, decent, laptop.  The music is on the laptop's hard drive.  There is plenty of hard drive space left.
    iTunes starts fine, and I can do stuff, then within a minute or two or three it gives me an error message pop-up. 

    The error message says:
    iTunes has stopped working.
    Windows can check nline for a solution to the problem.
    -> Check online for a solution and close the program
    -> Close the program
    Problem Event Name:          APPCRASH
      Application Name:          iTunes.exe
      Application Version:          10.5.0.142
      Application Timestamp:          4e9243f2
      Fault Module Name:          MSVCR80.dll
      Fault Module Version:          8.0.50727.6195
      Fault Module Timestamp:          4dcddbf3
      Exception Code:          c0000005
      Exception Offset:          0001500a
      OS Version:          6.1.7601.2.1.0.768.3
      Locale ID:          1033
      Additional Information 1:          0a9e
      Additional Information 2:          0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:          0a9e
      Additional Information 4:          0a9e372d3b4ad19135b953a78882e789
    I've chosen both items, neither does anything but close the program.  This problem is new with iTunes 10.5; I did not have it before. 

  • BSP page for Search Function in  Solution Database

    Hi
    I would like to know if there is an BSP available for the Search Function in Soltution Database. If yes then i would like to know what is the name of the BSP.
    <removed_by_moderator>
    Thanks
    Tenielle

    Dear friend,
    Have you done all the customizing via spro->scenario specific->service desk->solution database.
    There is a note SAP note 951145
    also you have to build the index..check via SAF tool...all the doc is there in IMG.
    Secondly...there is also a troubleshooting option.....
    This will help u....
    Pls assign pts

  • Declare @p1 variable error when creating multiple search form to show database info

    Hi, all help is incredibly appreciated,
    i have been trying to make a multiple filtered search form for a database in asp / vbscript. I want to be able to select from THIS database table, all info on the rows which id is BETWEEN x and x AND date is BETWEEN x and x AND securitynumber is BETWEEN x and x
    what would be the best way to do this?
    this is what ive got so far, which gives me the error:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    [Microsoft][ODBC SQL Server Driver][SQL Server]Must declare the variable '@P1'.
    <%
    Dim rsBundleR__p_selectedDB
    rsBundleR__p_selectedDB = request.form("selectedDataBase")
    If (request.form("selectedDataBase") <> "") Then
      rsBundleR__p_selectedDB = request.form("selectedDataBase")
    End If
    %>
    <%
    Dim rsBundleR__p_idFrom
    rsBundleR__p_idFrom = request.form("bundleIdFrom")
    If (request.form("bundleIdFrom")  <> "") Then
      rsBundleR__p_idFrom = request.form("bundleIdFrom")
    End If
    %>
    <%
    Dim rsBundleR__p_idTo
    rsBundleR__p_idTo = request.form("bundleIdTo")
    If (request.form("bundleIdTo") <> "") Then
      rsBundleR__p_idTo = request.form("bundleIdTo")
    End If
    %>
    <%
    Dim rsBundleR__p_dateFrom
    rsBundleR__p_dateFrom = request.form("fromDate")
    If (request.form("fromDate") <> "") Then
      rsBundleR__p_dateFrom = request.form("fromDate")
    End If
    %>
    <%
    Dim rsBundleR__p_dateTo
    rsBundleR__p_dateTo = request.form("toDate")
    If (request.form("toDate") <> "") Then
      rsBundleR__p_dateTo = request.form("toDate")
    End If
    %>
    <%
    Dim rsBundleR__p_ssFrom
    rsBundleR__p_ssFrom = request.form("fromSS")
    If (request.form("fromSS") <> "") Then
      rsBundleR__p_ssFrom = request.form("fromSS")
    End If
    %>
    <%
    Dim rsBundleR__p_ssTo
    rsBundleR__p_ssTo = request.form("toSS")
    If (request.form("toSS") <> "") Then
      rsBundleR__p_ssTo = request.form("toSS")
    End If
    %>
    <%
    Dim rsBundleR
    Dim rsBundleR_cmd
    Dim rsBundleR_numRows
    Set rsBundleR_cmd = Server.CreateObject ("ADODB.Command")
    rsBundleR_cmd.ActiveConnection = MM_PHPSQL_STRING
    rsBundleR_cmd.CommandText = "SELECT * FROM ? WHERE id BETWEEN ? AND ?  AND fecha_solicitado BETWEEN ? AND ?  AND seguro_social BETWEEN ? AND ? ORDER BY id ASC"
    rsBundleR_cmd.Prepared = true
    rsBundleR_cmd.Parameters.Append rsBundleR_cmd.CreateParameter("param1", 200, 1, 255, rsBundleR__p_selectedDB) ' adVarChar
    rsBundleR_cmd.Parameters.Append rsBundleR_cmd.CreateParameter("param2", 5, 1, -1, rsBundleR__p_idFrom) ' adDouble
    rsBundleR_cmd.Parameters.Append rsBundleR_cmd.CreateParameter("param3", 5, 1, -1, rsBundleR__p_idTo) ' adDouble
    rsBundleR_cmd.Parameters.Append rsBundleR_cmd.CreateParameter("param4", 135, 1, -1, rsBundleR__p_dateFrom) ' adDBTimeStamp
    rsBundleR_cmd.Parameters.Append rsBundleR_cmd.CreateParameter("param5", 135, 1, -1, rsBundleR__p_dateTo) ' adDBTimeStamp
    rsBundleR_cmd.Parameters.Append rsBundleR_cmd.CreateParameter("param6", 200, 1, 255, rsBundleR__p_ssFrom) ' adVarChar
    rsBundleR_cmd.Parameters.Append rsBundleR_cmd.CreateParameter("param7", 200, 1, 255, rsBundleR__p_ssTo) ' adVarChar
    Set rsBundleR = rsBundleR_cmd.Execute
    rsBundleR_numRows = 0
    %>
    someone, please help, this is very important!

    allright i think thats what i did here:
      <% While ((Repeat1__numRows <> 0) AND (NOT rsBundleR.EOF)) %>
    <table align="center" border="1">
              <tr>
                <td align="left" width="50%">id</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("id").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">seguro_social</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("seguro_social").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">numero_estudiante</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("numero_estudiante").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">nombre</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("nombre").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">apellido</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("apellido").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">telefono</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("telefono").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">celular</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("celular").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">direccion_postal</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("direccion_postal").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">direccion_postal_2</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("direccion_postal_2").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">email_pupr</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("email_pupr").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">ciudad</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("ciudad").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">estado</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("estado").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">zona_postal</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("zona_postal").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">direccion_fisica</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("direccion_fisica").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">direccion_fisica_2</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("direccion_fisica_2").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">email_personal</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("email_personal").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">ciudad_fisica</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("ciudad_fisica").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">estado_fisica</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("estado_fisica").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">zona_postal_fisica</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("zona_postal_fisica").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">tipo_estudiante</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("tipo_estudiante").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">termino_prestamo</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("termino_prestamo").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">nombre_referencia_1</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("nombre_referencia_1").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">apellido_referencia_1</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("apellido_referencia_1").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">telefono_referencia_1</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("telefono_referencia_1").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">direccion_postal_1_referencia_1</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("direccion_postal_1_referencia_1").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">direccion_postal_2_referencia_1</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("direccion_postal_2_referencia_1").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">ciudad_referencia_1</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("ciudad_referencia_1").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">estado_referencia_1</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("estado_referencia_1").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">zona_postal_referencia_1</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("zona_postal_referencia_1").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">nombre_referencia_2</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("nombre_referencia_2").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">apllido_refencia_2</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("apllido_refencia_2").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">telefono_referencia_2</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("telefono_referencia_2").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">direccion_postal_1_referencia_2</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("direccion_postal_1_referencia_2").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">direccion_postal_2_referencia_2</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("direccion_postal_2_referencia_2").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">ciudad_referencia_2</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("ciudad_referencia_2").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">estado_referencia_2</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("estado_referencia_2").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">zona_postal_referencia_2</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("zona_postal_referencia_2").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">tipo_de_prestamo</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("tipo_de_prestamo").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">cantidad_prestamo</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("cantidad_prestamo").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">subsidiado</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("subsidiado").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">no_subsidiado</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("no_subsidiado").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">autorizo_pupr</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("autorizo_pupr").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">fecha_solicitado</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("fecha_solicitado").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">estatus</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("estatus").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">revisado_por</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("revisado_por").Value)%></td>
              </tr>
              <tr>
                <td align="left" width="50%">nota_personal</td>
                <td align="left" width="50%"><%=(rsBundleR.Fields.Item("nota_personal").Value)%></td>
              </tr>
            </table>
      <br /><br />
        <%
      Repeat1__index=Repeat1__index+1
      Repeat1__numRows=Repeat1__numRows-1
      rsBundleR.MoveNext()
    Wend
    %>
    , no error is given BUT still, no information is showing.
    However, i dont see the "." either :/
    I made it create a table for each record,
    is it the way i called the information?
    or is the query not finding anything?
    ( there is information in the database )

  • Moving a Entire Database

    Does any one out there know of a easy way to copy a entire database from a working copy to a freshly installed copy. I currently have about 5 table spaces and about 5 users with all there schema and data, and I would like to move it from my windows server to a linux server, same version of oracle 10g. I know where alot of the files are and I know the ctl file will add the database, but I am not sure if it is really that easy or what is the best way.
    Thanks in advance for any help.
    Todd

    Since you are using 10g, you may consider to use Oracle's Transportable Tablespace feature. It works now (some restrictions) even if the platforms are different.
    This document describes all necessary steps (an extract from 10g Administrator's Guide).
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10739/tspaces.htm#i1007169
    Using dbconsole and/or GridControl simplifies the tasks.There's an option 'Cloning a database' available.

  • Designer and Reverse Engineering Entire Database

    Does anyone know of any good papers, books, articles, etc to help out with Designer. I really am having trouble finding anything.
    What I am trying to do is capture an entire database into a new repository and I am plagued with errors. I'm a developer and really weak with Designer knowledge. I also want to find information on how I should organize my repository. Should each schema have its own application system folder if the schemas share/link information between one another?

    Hi,
    One book that I have always found good is the Oracle Designer Handbook by Paul Dorsey and Peter Koletzke. Although it's a bit long in the tooth now (only goes upto v6 I think), it's still very useful.
    The Oracle Designer Product Info link is at http://www.oracle.com/technology/products/designer/index.html
    What sort of errors are you getting? I presume you either have a live connection to the database or the DDL?
    Without knowing the contents of your schema, it usually makes sense to group each one into its own application system, subject to the number of tables, etc. If you have tables which are referenced by other schemas, they can be put into one application system and shared to the other application systems as applicable.
    Try and let us know a bit more about what you're trying to do.
    rgds, Antony

  • Searching through a Large Database

    There's a specialty program that I use all the time and it's built for windows only. This program pretty much searches through a big database of articles that this organization has published and you can read them.
    I'm wondering, what should I do to redevelop the database? Is there a good program to use? and what language I should use?
    Message was edited by: Supanatral

    +I just got to track down who did it I guess.+
    If you have that as a resource I'd very much recommend doing that. No reason to re-reverse engineer the wheel.
    +Is there a good step by step how to for mysql?+
    There are many scattered around the web.
    Here is Apple's:http://developer.apple.com/internet/opensource/osdb.html
    Here is MySQLs: http://dev.mysql.com/doc/refman/5.0/en/mac-os-x-installation.html
    Also some OS X seem to have shipped with OpenBase installed and some don't. I'm not sure what the process or license is on that but it is much friendly and GUI operative than MySQL. If you have it it's worth looking into if it'll work for you.
    Good Luck,
    =Tod

  • Is it possible to copy entire database when update from 32 bit to 64 bit?

    Just want to update the os from 32bit to 64bit with Oracle9i. Sinece the data amount is very large, to export and import is quite time consuming, so Is it possible to copy entire database? Or any other suggestion?

    what's the OS ?
    You can check metalink doc, for example this one
    Subject: How to convert a 32-bit database to 64-bit database on Linux?
    Doc ID: NOTE:341880.1
    or
    Changing between 32-bit and 64-bit Word Sizes
    Doc ID: NOTE:62290.1

  • Restore entire database..why RESETLOGS

    Hi
    I have a consistent RMAN backup.I wanted to restore it to another server.my goal is replicating exactly what i have on my server to other.I dont require duplicate command..its just a question of asking why what i have done is not working .Rather why this procedure is not working.
    Steps follwed are Restored entire database.
    Now I have verified checkpoint_scn in controlfile and datafile headers are exactly same.So no Media recovery required.While recovering databsae is is asking me to use backup controlfile and while opening database it wants me open RESETLOGS.
    When Checkpoint_SCN is in sync everywhere and i dont change db_name ,why it asks for RESETLOGS.Rather how it or where from it come to know that controlfile is restored.
    I thoght may be REDO log files are not present so it might have identified.I have REDO log file copies so i copied and tried but same thing happened..RESETLOGS
    if i copy datafile,controlfile and REDO logfile with OS command,i a
    was not aked for RESETLOGS or backup controlfile while recovery and open database.
    But in case of RMAN why and how it asks for RESETLOGS.I have everything in place as it is but why shoul i do RESETLOGS.

    Now I have verified checkpoint_scn in controlfile and datafile headers are exactly same.So no Media recovery required.RMAN doesn't backup Online Redo Logs. RMAN wouldn't then, be checking Online Redo Logs.
    Say you have this scenario :
    At Time t1, cold backup of datafiles and controlfile
    Current Time is t3 and Online Redo Logs are available
    What is restored is the datafiles and controlfiles from t1 and the online redo logs from t3.
    Is such a scenario possible ? YES.
    (eg. your database crashed at t2 and all datafiles and controlfiles were lost, but the online redo logs are available -- probably because they were mirrored).
    Can/should Oracle do an OPEN without a ResetLogs ? Obviously not ! A ResetLogs is necessary here.
    But what if you had restored Online Redo Logs of t1 with the database of t1 ? If the controlfile is not of the same point in time, Oracle still cannot be sure that the Online Redo Logs are the "current" ones. Oracle has to assume and do an Incomplete Recovery. This has to be followed by an OPEN RESETLOGS.
    While recovering databsae is is asking me to use backup controlfile and while opening database it wants me open RESETLOGS.RMAN wouldn't be "asking .. to use a backup controlfile". It seems that you are using the SQL RECOVER DATABASE command. If a BACKUP CONTROLFILE is used, an OPEN RESETLOGS is required. That is mandatory because Oracle cannot trust the controlfile (which it , by definition, would assume to be not "current") to have the latest information.
    When you do a non-RMAN backup and Recovery, the ALTER DATABASE OPEN is issued from SQL. This checks the Online Redo Logs. If it finds that the Online Redo Logs are as of t3 but the database files, even consistent, are as of t1, then it will complain and require an OPEN RESETLOGS.
    if i copy datafile,controlfile and REDO logfile with OS commandIf this is cold copy, then it doesn't require Recovery. If all three sets of files are consistent, than an Open ResetLogs is not required.

  • Delete entire database i m using oracle 11g enterprise version

    Hi,
    I want to delete entire database from my laptop, actually I have installed 3 databases Oracle11g, I want to delete all of them . I have deleted it from registry but also its not totally deleted from my system.

    Hello,
    I want to delete entire database from my laptop, actually I have installed 3 databases Oracle11g, I want to delete all of themIn fact there are 2 things, the Databases and the Software.
    If you intend to DROP the Databases, and if these Databases were created by DBCA, you may use DBCA to DROP them. If the Databases were created manually you have the DROP DATABASE statement as follow:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_8009.htm
    About the Software, the answer depends on the Oracle Release.
    In Oracle *11.1*, OUI let you deinstall the Oracle installation.
    In Oracle *11.2*, you need to use the Oracle De-install Utility (11.2.0.1.0) for Microsoft Windows.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Clone entire database and import to other db

    how can i clone the entire database and import to another oracle database but in different server by using software of SQL Development? (include table structure & package)

    It's also not clear what you want to do. At one point you say "clone database" and in your follow-up post "clone table".
    Using either conventional or data pump export/import to clone a table or schema can be pretty easy. But cloning a database using those utilities is much more difficult. There are tonnes of things in the database that even a FULL exp/imp doesn't pick up on and move. I've posted a list of that in the MOS community.

  • Gathering Entire Database Structure

    Hi Geeks,
    I want to gather the entire database structure for our client database, which is outside of our country and it is impossible to send the export dump file since so many formalities are there. I need to gather the information, but not through export dump file. I don't need the datas, but only the structure from A-Z.
    Is there any possible way to do it.
    Kindly help me.
    Thanks,
    Bang.

    Hi,
    If i understood your question correctly then can use RMAN if you have the access. invoke "show schema" command to know the structure of your Database; Eg in my case:
    C:\Documents and Settings\smuthalagan>set oracle_sid=test
    C:\Documents and Settings\smuthalagan>rman
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle. All rights reserved.
    RMAN> connect target
    connected to target database: TEST (DBID=1915532430)
    RMAN> report schema;
    using target database controlfile instead of recovery catalog
    Report of database schema
    File K-bytes Tablespace RB segs Datafile Name
    1 460800 SYSTEM *** E:\ORACLE\PRODUCT\10.1.0\ORADATA\TE
    ST\SYSTEM01.DBF
    2 30720 UNDOTBS1 *** E:\ORACLE\PRODUCT\10.1.0\ORADATA\TE
    ST\UNDOTBS01.DBF
    3 245760 SYSAUX *** E:\ORACLE\PRODUCT\10.1.0\ORADATA\TE
    ST\SYSAUX01.DBF
    4 5120 USERS *** E:\ORACLE\PRODUCT\10.1.0\ORADATA\TE
    ST\USERS01.DBF
    5 153600 EXAMPLE *** E:\ORACLE\PRODUCT\10.1.0\ORADATA\TE
    ST\EXAMPLE01.DBF
    RMAN>
    Thanks
    --Raman                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • How to get the output format options of SAP QUERY

    Hi Gurus, I want to get the output options available for sapquery program.means when you execute the program "AQZZ/SAPQUERY/FDF1============" you will get output options like sap alv,display as table,wordprocessing  etc. i am not able to unsderstand

  • Computer no longer authorized to play music on iPod

    I have been using my PC with Windows XP to run iTunes for my iPOD (Classic, I think?) When I updated the ituens software, the music on my iPod is no longer authorized on my computer. In addition, when I purchased songs from iTunes, they do not downlo

  • Mac keeps crashing to blank black screen how do I fix?

    I am having trouble with my macbook pro. It is 15 in mid 2010   Software  Mac OS X Lion 10.7.5 please help this problem keeps interupting at random times. Interval Since Last Panic Report:  94125 sec Panics Since Last Report:          10 Anonymous UU

  • CProjects project not replicated in PS

    Hi, I have maintained all the settings for Account Assignment in Multilevel controlling.But still i am unable to replicate the cprojects project in PS.In account assignmet tab i am getting the PS Project party empty and no WBS are replicated for corr

  • For Update Of &Where current of

    Can you please give answer anyone,What is main use of For update Clause and Where current of Clause?