MyFileName.mdf is not a primary database file

While accessing to an .mdf file, I receive this: MyFileName.mdf is not a primary database file. Does it mean the file is corrupted?
Please help in repairing this file. I heard about some manual tricks to fix SQL database corruption, but I'm not aware of it.
Please share it.
Thanks.

While accessing to an .mdf file, I receive this: MyFileName.mdf is not a primary database file. Does it mean the file is corrupted?
Please help in repairing this file. I heard about some manual tricks to fix SQL database corruption, but I'm not aware of it.
Please share it.
Thanks.
There can be various scenario which can cause this error (many of them is mentioned in this thread by other members).
If you can elaborate a little more as:
what you are trying to do?
were the database was accessible before (same way as you are trying to access it now)?
Is it simply that you are trying to access the database or you are trying attaching an MDF?
If you can let us know the above I am sure we will be able to help you in a better and effective way.
Keep Posting!!
Please take a moment to mark this reply as answered if it solved your issue however if it doesn't  but
looks helpful to you or for someone else you may vote as helpful. This will enable the reply forother forum members to benefit from.
v_wish

Similar Messages

  • Error: is not a primary database file.

    Hello
    If I try to set a database online with:
    ALTER DATABASE mydb SET online
    this error occurs:
    Msg 5171, Level 16, State 1, Line 1
    E:\Data\mydb_log.ldf is not a primary database file.
    Msg 5171, Level 16, State 2, Line 1
    E:\Data\mydb.mdf is not a primary database file.
    File activation failure. The physical file name "E:\Data\mydb.mdf" may be incorrect.
    Msg 945, Level 14, State 2, Line 1
    Database 'mydb' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details.
    Msg 5069, Level 16, State 1, Line 1
    ALTER DATABASE statement failed.
    The path of ldf and mdf file is correct.
    And if I delete the database "DROP DATABASE mydb" and attach the files, then it works..
    Thanks for your help

    Cause
    This problem generally occurs if the MDF file of your SQL Server has got damaged. the problem could be due to file header corruption or wrong information in file header.
    All such situations lead to the inaccessibility of MDF file and need to repair and restore the database. It is very important to work around this problem, as it may put your business at risk of destruction.
    The MDF repair is possible with the help of third party applications known as SQL recovery software. These software are helpful in each and every case of MDF corruption and thus allow you to have perfect MDF recovery.
    To perform SQL repair using these software, it is not necessary for the user to have sound technical knowledge as MDF repair software come with interactive user interface. SQL recovery software do systematic scan of corrupted MDF files, repair and restore them in original format.
    Stellar Phoenix SQL Database Recovery is the most advanced and the most influential SQL recovery software which allows you to have effective and successful MDF recovery in all cases of corruption. This SQL repair software comes equipped with an interactive, simple and cool looking user interface.
    This MDF repair software is powerful enough to carry out systematic scan of entire MDF file and extract all of the data from it. This SQL repair software can restore all of the MDF objects including tables, reports, forms, macros, database constraints, stored procedures, triggers etc.
    Cheers, Sridhar -------------- Please Mark it as Answer if it helps u so that it will be useful to other forum guys

  • Could not render the database - File is already open in another application - Fireworks unusable

    I'm using CC for mac and when trying to export an image in Fireworks I get this message popping up…
    It's constantly happening and even if I click ok or press the escape button I get a repeatedly blank version of the popup and I'm unable to export the image. This is rendering Fireworks unusable and along with Dreamweaver it's the application I use pretty much all the time so is a considerable annoyance.
    Can anyone help get this resolved please?

    I appear to have found the cause by chance. I was running AVG Anti-virus software but uninstalled that and hey presto Fireworks appears to be back to normal.

  • Using RAC One Node as a primary database in a Data Guard configuration

    Is it possible to use RAC One Node as a primary database in a Data Guard configuration ?
    Oracle doc states: "Supports Oracle Data Guard such that you can run physical or logical standby databases on it or even we can NOT run primary databases on it either if the primary databases have DG"
    I guess it is not possible but can you folks confirm?
    Alessio

    Hmmm.... still unclear.
    I've submitted a comment which the documentation team should pick up :
    "+This sentence : "Supports Oracle Data Guard such that you can run physical or logical standby databases on it or even we can NOT run primary databases on it either if the primary databases have DG"+
    +is not very clear.+
    +I can understand it upto the words "on it" but the second part of the sentence, beginning with "or even we can NOT ..." seems mangled and unclear.+
    +Can you clarify whether RAC One Node can be used as :+
    +a. A Primary in a DataGuard configuration+
    +b. A Standby in a DataGuard configuration ?+"
    Hemant K Chitale

  • Database file changed ora-01251   how to solve?

    hai all,
    database file changed ora-01251 how to solve?
    suddenly changed when i try to connect Oracle Management server(OMS)
    thanks
    rcs
    =======
    os:winxp
    db:Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
    SQL> Recover database
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 9: 'F:\ORACLE\ORADATA\BIMPEX\BIMPEX.ORA'
    ORA-01122: database file 9 failed verification check
    ORA-01110: data file 9: 'F:\ORACLE\ORADATA\BIMPEX\BIMPEX.ORA'
    ORA-01251: Unknown File Header Version read for file number 9
    WRONG FILE TYPE
    F:\ORACLE\ORADATA\BIMPEX\BIMPEX.ORA
    ========

    Hi..
    Would like to know if any changes were done before this error popped up..
    From metalink :--
    >
    Error:     ORA-1251
    Text:     Unknown File Header Version read for file number %s
    Cause:     Read of the file header returned a record but its version cannot be
         identified. Either the header has been corrupted, or the file is not a
         valid database file.
    Action:     Have the operating system make the correct file available to the
         database, or recover the file.
    >
    If the file is corrupted, then take the datafile offline and open the database.If it was renamed, then you can check metalink Doc ID:      230449.1
    if the database is in archive log mode, you can refer to metalink Doc ID: 333620.1
    HTH
    Anand

  • Standby database not configure while keep database files in different place

    Dear Friends ,
    I have to successfully configured "PHYSICAL STANDBY DATABASE" within the TWO databases ("PRIM" and "STAN" Database) when I kept datafile, controlfile and redolog files in the same location (like, "/u01/app/oracle/oradata/prim" location .
    In this successful configuration , I have to add the below two lines into the initprim.ora and initstan.ora both server respectively ...
    initprim.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/stan','/u01/app/oracle/oradata/prim'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/stan','/u01/app/oracle/flash_recovery_area/prim'
    initstan.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/prim','/u01/app/oracle/oradata/stan'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/prim','/u01/app/oracle/flash_recovery_area/stan'Now , in second scenario , I have to change Primary database server's datafile, controlfile and redolog file in the below folder :
    controlfile --> "/u01/app/oracle/oradata/prim/ctrlfile"
    redologfile --> "/u01/app/oracle/oradata/prim/redofile"
    datafile --> "/u01/app/oracle/oradata/prim/datafile"
    Similarly I have to create same folder in my STAN database server accordingly . and also add the above lines in same way :
    initprim.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/stan','/u01/app/oracle/oradata/prim'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/stan','/u01/app/oracle/flash_recovery_area/prim'
    initstan.ora:
    ========
    DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/prim','/u01/app/oracle/oradata/stan'
    LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/prim','/u01/app/oracle/flash_recovery_area/stan'Keeping the above situation when I run the below command in STAN database server :
    [oracle@test ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 15 23:15:43 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 599785472 bytes
    Fixed Size 1220772 bytes
    Variable Size 163581788 bytes
    Database Buffers 427819008 bytes
    Redo Buffers 7163904 bytes
    Database mounted.
    SQL> alter database recover managed standby database disconnect from session;
    Database altered.
    The Command execute successfully but in the alert log of the STAN database server ,I get the below error :
    Completed: alter database recover managed standby database disconnect from session
    Mon Nov 15 22:46:52 2010
    Clearing online redo logfile 1 complete
    Mon Nov 15 22:46:52 2010
    Errors in file /u01/app/oracle/admin/stan/bdump/stan_mrp0_3695.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/prim/redofile/redo02.log'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Mon Nov 15 22:46:52 2010
    Errors in file /u01/app/oracle/admin/stan/bdump/stan_mrp0_3695.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/prim/redofile/redo02.log'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3But I already created the above mention folder "'/u01/app/oracle/oradata/prim/redofile" successfully and the redo log files are also created there successfully , but I cannot understand why this error is showed ? And also no archivelogs are shifted from PRIM database server to STAN database server .
    Would u plz suggest me , why I cannot configure Physical Standby Database when I keep my database fles in the separate location ?
    help me plz ... ...

    Hi,
    I'm missing the steps you took renaming/moving the files on the primary.
    Since the location of datafiles is stored in the control file the controlfile of the standby might not know the new location yet.
    I suggest you read this http://www.cs.bris.ac.uk/maintain/OracleDocs/server.816/a76995/standby.htm#23603 and see if that helps
    Success,
    FJFranken

  • Error - Logical file is not part of database. Use RESTORE FILELISTONLY to list the logical file names

    I made a script to restore .bak or backup files. It works for some databases, but not for one. How do I make it work for any type of .bak file ? This is in sql server 2008. The error message is -
    Msg 3234, Level 16, State 1, Line 1
    Logical file 'Northwind_Data' is not part of database 'Northwind'.
    Use RESTORE FILELISTONLY to list the logical file names.
    Msg 3013, Level 16, State 1, Line 1
    RESTORE DATABASE is terminating abnormally.
    Script -
    IF DB_ID('Northwind') IS NULL
    BEGIN
    RESTORE DATABASE [Northwind]
    FILE = N'Northwind_Data'
    FROM
    DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\Northwind.bak'
    WITH FILE = 1,
    MOVE N'Northwind_Data'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind.mdf',
    MOVE N'Northwind_Log'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind_0.LDF',
    NOUNLOAD, STATS = 10
    END

    Hello,
    The issue you are facing might be related to below link
    http://support.microsoft.com/kb/2487231/en-us
    As per link this is known issue.Can you please check service pack level of SQL Server 2008 .It should be SP3.Please apply SP3 and see if the error subsides.
    Also error suggests  logical file name 1 which you are giving is not part of the backup set from which you are trying to restore.You should first use below query to determine right file then proceed with restoration of the same.
    restore filelistonly from disk='C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\Northwind.bak'
    if file ID is 3 may be your restore script would be like below
    F DB_ID('Northwind') IS NULL
    BEGIN
    RESTORE DATABASE [Northwind]
    FILE = N'Northwind_Data'
    FROM
    DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\Northwind.bak'
    WITH FILE = 3,
    MOVE N'Northwind_Data'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind.mdf',
    MOVE N'Northwind_Log'
    TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\DATA\Northwind_0.LDF',
    NOUNLOAD, STATS = 10
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Free space of mdf and ldf does not match with database free space

    In SSMS i saw file size related properties and found below details for one database.Here values does not match with other properties. Here size of the mdf, ldf and total size matches with other values under each window. But Available free space of mdf and ldf
    if added then it does not equal to Available free space shown in shrink database window and free space shown in database properties. This is true for any database. Why is it so? Please can anyone explain the logic behind this?
    Under database properties:
    Size: 91.31 MB
    Space available:13.40 MB
    Under database file properites:
    mdf size:17 MB
    ldf size:75 MB
    under shrink database:
    currently allocated size:91.31 MB
    Available free space:13.40 MB
    under shrink file-for data file:
    currently allocated size:16.38 MB
    Available free space:12.63 MB
    under shrink file-for log file:
    currently allocated size:74.94 MB
    Available free space:55.62 MB

    Hi,
    Database properties and database shrink show the total (log+data) values. Others show the individual sizes, log and data separately. 
    I hope it helps.
    Janos
    There are 10 type of people. Those who understand binary and those who do not.
    My Blog |
    Hire Me
    This does not answer my question. If you add allocated space of mdf and ldf it equals to database allocated size.But i am asking why this ldf and mdf free space together(when added 55.62+12.63 ) does not equal to database free space?

  • Why did the latest update (31.1.2) delete database files for primary email account in profile?

    After restarting TB to apply the 31.1.2 update, all of the database files for my primary email account were apparently deleted. Restarting TB again got it to start syncing with the IMAP server again, but it has to download around 100,000 messages again because of this. Was this a design decision or is there a problem with the update itself? And why did it only affect my primary email account and leave the other 4 (much smaller ones) unscathed?

    1. Norton Internet Security 21.5.0.19
    2. Application Basics
    Name: Thunderbird
    Version: 31.1.2
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
    Profile Folder: Show Folder
    (Local drive)
    Application Build ID: 20140923203151
    Enabled Plugins: about:plugins
    Build Configuration: about:buildconfig
    Memory Use: about:memory
    Mail and News Accounts
    account1:
    INCOMING: account1, , (imap) imap.googlemail.com:993, SSL, passwordCleartext
    OUTGOING: smtp.googlemail.com:465, SSL, passwordCleartext, true
    account2:
    INCOMING: account2, , (none) Local Folders, plain, passwordCleartext
    account3:
    INCOMING: account3, , (imap) imap.googlemail.com:993, SSL, passwordCleartext
    OUTGOING: smtp.googlemail.com:465, SSL, passwordCleartext, true
    account4:
    INCOMING: account4, , (imap) imap.mail.yahoo.com:993, SSL, passwordCleartext
    OUTGOING: smtp.mail.yahoo.com:465, SSL, passwordCleartext, true
    account5:
    INCOMING: account5, , (imap) imap-mail.outlook.com:993, SSL, passwordCleartext
    OUTGOING: smtp-mail.outlook.com:587, alwaysSTARTTLS, passwordCleartext, true
    account6:
    INCOMING: account6, , (imap) mail.centurylink.net:143, alwaysSTARTTLS, passwordCleartext
    OUTGOING: smtp.centurylink.net:587, alwaysSTARTTLS, passwordCleartext, true
    Crash Reports
    http://crash-stats.mozilla.com/report/index/bp-ef9e8cc4-d975-4a65-8417-652332140926 (9/25/2014)
    Extensions
    Important Modified Preferences
    Name: Value
    accessibility.typeaheadfind.flashBar: 0
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.disk.smart_size_cached_value: 358400
    extensions.lastAppVersion: 31.1.2
    font.internaluseonly.changed: false
    font.name.monospace.el: Consolas
    font.name.monospace.tr: Consolas
    font.name.monospace.x-baltic: Consolas
    font.name.monospace.x-central-euro: Consolas
    font.name.monospace.x-cyrillic: Consolas
    font.name.monospace.x-unicode: Consolas
    font.name.monospace.x-western: Consolas
    font.name.sans-serif.el: Calibri
    font.name.sans-serif.tr: Calibri
    font.name.sans-serif.x-baltic: Calibri
    font.name.sans-serif.x-central-euro: Calibri
    font.name.sans-serif.x-cyrillic: Calibri
    font.name.sans-serif.x-unicode: Calibri
    font.name.sans-serif.x-western: Calibri
    font.name.serif.el: Cambria
    font.name.serif.tr: Cambria
    font.name.serif.x-baltic: Cambria
    font.name.serif.x-central-euro: Cambria
    font.name.serif.x-cyrillic: Cambria
    font.name.serif.x-unicode: Cambria
    font.name.serif.x-western: Cambria
    font.size.fixed.el: 14
    font.size.fixed.tr: 14
    font.size.fixed.x-baltic: 14
    font.size.fixed.x-central-euro: 14
    font.size.fixed.x-cyrillic: 14
    font.size.fixed.x-unicode: 14
    font.size.fixed.x-western: 14
    font.size.variable.el: 17
    font.size.variable.tr: 17
    font.size.variable.x-baltic: 17
    font.size.variable.x-central-euro: 17
    font.size.variable.x-cyrillic: 17
    font.size.variable.x-unicode: 17
    font.size.variable.x-western: 17
    gfx.direct3d.last_used_feature_level_idx: 0
    mail.openMessageBehavior.version: 1
    mail.winsearch.firstRunDone: true
    mailnews.database.global.datastore.id: 0bb49554-fa41-4ecf-af58-17c0753468e
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1411474192
    places.history.expiration.transient_current_max_pages: 104858
    plugin.importedState: true
    print.printer_Brother_HL-2270DW_series.print_bgcolor: false
    print.printer_Brother_HL-2270DW_series.print_bgimages: false
    print.printer_Brother_HL-2270DW_series.print_colorspace:
    print.printer_Brother_HL-2270DW_series.print_command:
    print.printer_Brother_HL-2270DW_series.print_downloadfonts: false
    print.printer_Brother_HL-2270DW_series.print_duplex: 0
    print.printer_Brother_HL-2270DW_series.print_edge_bottom: 0
    print.printer_Brother_HL-2270DW_series.print_edge_left: 0
    print.printer_Brother_HL-2270DW_series.print_edge_right: 0
    print.printer_Brother_HL-2270DW_series.print_edge_top: 0
    print.printer_Brother_HL-2270DW_series.print_evenpages: true
    print.printer_Brother_HL-2270DW_series.print_footercenter:
    print.printer_Brother_HL-2270DW_series.print_footerleft: &PT
    print.printer_Brother_HL-2270DW_series.print_footerright: &D
    print.printer_Brother_HL-2270DW_series.print_headercenter:
    print.printer_Brother_HL-2270DW_series.print_headerleft:
    print.printer_Brother_HL-2270DW_series.print_headerright:
    print.printer_Brother_HL-2270DW_series.print_in_color: true
    print.printer_Brother_HL-2270DW_series.print_margin_bottom: 0.5
    print.printer_Brother_HL-2270DW_series.print_margin_left: 0.5
    print.printer_Brother_HL-2270DW_series.print_margin_right: 0.5
    print.printer_Brother_HL-2270DW_series.print_margin_top: 0.5
    print.printer_Brother_HL-2270DW_series.print_oddpages: true
    print.printer_Brother_HL-2270DW_series.print_orientation: 0
    print.printer_Brother_HL-2270DW_series.print_page_delay: 50
    print.printer_Brother_HL-2270DW_series.print_paper_data: 1
    print.printer_Brother_HL-2270DW_series.print_paper_height: 11.00
    print.printer_Brother_HL-2270DW_series.print_paper_name:
    print.printer_Brother_HL-2270DW_series.print_paper_size_type: 0
    print.printer_Brother_HL-2270DW_series.print_paper_size_unit: 0
    print.printer_Brother_HL-2270DW_series.print_paper_width: 8.50
    print.printer_Brother_HL-2270DW_series.print_plex_name:
    print.printer_Brother_HL-2270DW_series.print_resolution: 0
    print.printer_Brother_HL-2270DW_series.print_resolution_name:
    print.printer_Brother_HL-2270DW_series.print_reversed: false
    print.printer_Brother_HL-2270DW_series.print_scaling: 1.00
    print.printer_Brother_HL-2270DW_series.print_shrink_to_fit: true
    print.printer_Brother_HL-2270DW_series.print_to_file: false
    print.printer_Brother_HL-2270DW_series.print_unwriteable_margin_bottom: 0
    print.printer_Brother_HL-2270DW_series.print_unwriteable_margin_left: 0
    print.printer_Brother_HL-2270DW_series.print_unwriteable_margin_right: 0
    print.printer_Brother_HL-2270DW_series.print_unwriteable_margin_top: 0
    Graphics
    Adapter Description: NVIDIA GeForce GTX 560
    Vendor ID: 0x10de
    Device ID: 0x1201
    Adapter RAM: 1024
    Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
    Driver Version: 9.18.13.4052
    Driver Date: 7-2-2014
    Direct2D Enabled: true
    DirectWrite Enabled: true (6.2.9200.16492)
    ClearType Parameters: ClearType parameters not found
    WebGL Renderer: false
    GPU Accelerated Windows: 2/2 Direct3D 10
    AzureCanvasBackend: direct2d
    AzureSkiaAccelerated: 0
    AzureFallbackCanvasBackend: cairo
    AzureContentBackend: direct2d
    JavaScript
    Incremental GC: 1
    Accessibility
    Activated: 0
    Prevent Accessibility: 0
    Library Versions
    Expected minimum version
    Version in use
    NSPR
    4.10.6
    4.10.6
    NSS
    3.16.2.1 Basic ECC
    3.16.2.1 Basic ECC
    NSS Util
    3.16.2.1
    3.16.2.1
    NSS SSL
    3.16.2.1 Basic ECC
    3.16.2.1 Basic ECC
    NSS S/MIME
    3.16.2.1 Basic ECC
    3.16.2.1 Basic ECC
    Account5 is the one affected which is still attempting to sync. It also appears that my sync choices were altered without permission or notification. I always keep the Deleted folder and the POP subfolder from Hotmail accounts disabled since it is merely duplicating content in other folders. When re-checking the sync settings because it was taking so long, I found that the POP subfoler was selected for sync again.
    The crash report is from a later TB crash, the first one ever on this system.
    3. Windows 7 Ultimate Signature Edition, Cox Communications (shouldn't matter whatsoever), the affected account is Hotmail/Outlook.com, unaffected accounts: 2 GMail, 1 Yahoo, 1 CenturyLink

  • Primary index does not exist in database but shows in SE14?

    I added a couple of key fields to a Z table and activated it. Every thing went well - adjusted it with SE14 also.
    When I checked the Runtime object - it is OK.
    When I checked Database Object, it is showing that the Primary Index does not exist in Database but SE14 says that the Priamry Index exists in Database.
    Please advise how to correct this. I saw another psoting when I searched per this error message: "Indexes: Inconsistent with DDIC source" . It tells to create this index at Database but need to know the steps.
    pl advise.
    (reposting here)
    Edited by: Venkatabby on Mar 26, 2008 4:05 PM

    hi,
    To create a index for a table,
    go to se11->click on Indexes tab and create  a primary index.
    Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan).
    The system automatically creates the primary index. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE.
    If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVINGclauses, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
    You create secondary indexes using the ABAP Dictionary. There you can create its columns and define it as UNIQUE.
    reward points if useful.
    regards
    sandhya

  • [SOLVED] database file for multilib does not exist

    Hey guys I ran into a problem today when I tried to install the proper packages I needed to use my wifi card. However when I tried to install it it gives me the error "database file for multilib does not exist" I can t seem to find out why I even tried chrooting into it and installing it that way with no luck. The package I tried to install was "pacman -S wireless_tools netcfg" thanks for the help guys you've been great.
    Last edited by bdawg (2012-09-18 22:57:17)

    bdawg wrote:
    Ok so the whole output is as follows:
    Warning: database file for 'multilib' does not exist
    Error: failed to prepare transaction (could not find database)
    And my Pacman.conf is blank
    pacman.conf and Pacman.conf (with capital 'P') are two different files. Double-check this.
    Are you running a 64-bit system?
    Your /etc/pacman.conf should look like this: https://projects.archlinux.org/pacman.g … an.conf.in but with some repositories configured: https://wiki.archlinux.org/index.php/Pa … positories
    Last edited by karol (2012-09-18 22:13:59)

  • Adobe PDF iFilter 9 for 64-bit platforms does not index my PDF files in SQL server database

    hi all
    I need your help
    i have this asp.net site which works with sql server
    it searches a specific word in the database with full text search
    in my database i have a column of type image that holds a PDF file
    i want my SP to search for given word in my file
    so i installed the Adobe Ifilter
    configured it and every thing worked fine
    but after i moved to production Server and installed every thing the same way ...it did not create the index for the pdf files
    i can search for doc and docx and even for xml but not pdf
    i know i installed it correctly since it is working great in the testing environment
    i used this link for the configuration
    http://www.adobe.com/special/acrobat/configuring_pdf_ifilter_for_ms_sql_server_2005.pdf
    the only difference i see between my Testing environment and my Production environment  is that
    my testing has
    windows sever 2003 sp2 with Sql server 2005 64 bit std sp2   -- works fine
    my production  has
    windows sever 2003 R2sp2 with Sql server 2005 64 bit ent sp3  --does not work, does not index my pdf files
    can you tell me if there are problems with some environments ?
    are there any known problems with this Ifilter ?
    what should i do ..

    Thank you
    I opened it in the Acrobat Windows forum
    http://forums.adobe.com/message/2557155#2557155
    meidad Evyoni

  • Error 26 when executing sql. File opened that is not a database file. My Easy System Cleaner will not work on Foxfire. What to do?

    I have the Easy System Cleaner. It worked through Internet Explorer. But when it comes to Mozilla Foxfire. It stops.
    The message is:
    error executing sql. Error 26. File opened that is not a database file "select[sql] from sqlite_master where [type]="table' and lower (name)='mos_cookies' " File is encrypted or is not a database.
    What should I do. And where do I look to solve this problem.
    I need to use my Easy System Cleaner...I paid for it!
    [email protected]

    How do I fix this error

  • With Tweak Now I choose Compact Mozilla Firefox Database Files, now I can't open tabs, images etc. on websites. I can't get the old setting back, not even by bringing the system back to another date or installing Firefox anew. What to do? Thanks!

    This is what I think did happen because I am still able to do those things in Internet Explorer.
    E.g. Opening a website I don't see all images, can't use all tabs.
    I also cleared Caches in Extra. (I use Windows XP.) I tried to restore things within Tweak Now.
    So how can I make more space in the Mozilla Database Files.
    Please keep your answer simple, I am not that smart...

    Not a good idea to use external programs like that to mess with Firefox files, those programs somehow manage to break more than they ever fix. Windows system restore does its' fair share of messing Firefox up, too. And reinstalling Firefox doesn't fix a b0rked Profile, unless you remove it when you uninstall Firefox.
    Try a new Profile. <br />
    http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    Then recover specific files from the existing Profile. <br />
    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • Use of standby redo log files in primary database

    Hi All,
    What is the exact use of setting up standby redo log files in the primary database on a data guard setup?
    any good documents?

    A standby redo log is required for the maximum protection and maximum availability modes and the LGWR ASYNC transport mode is recommended for all databases. Data Guard can recover and apply more redo data from a standby redo log than from archived redo log files alone.
    You should plan the standby redo log configuration and create all required log groups and group members when you create the standby database. For increased availability, consider multiplexing the standby redo log files, similar to the way that online redo log files are multiplexed.
    refer the link,and Perform the following steps to configure the standby redo log.:-
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i1225703
    If the real-time apply feature is enabled, log apply services can apply redo data as it is received, without waiting for the current standby redo log file to be archived. This results in faster switchover and failover times because the standby redo log files have been applied already to the standby database by the time the failover or switchover begins.
    refer the link
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_apply.htm#i1023371

Maybe you are looking for

  • Delivery address in PO Creation through ME21N

    Hi All, I want to change the Delivery Address in ME21N. By default this delivery address is the Plant address which we enter at the line item level. Now my requirement is to default the delivery address to other address based on the vendor given at t

  • Accessing parent window form elements from a JSP file

    Actually I have a JSP page . It calls a popup function to load another JSP file on the event Onclick of a label. In the JSP file loaded on the popup window, I need to access the form elements of the parent. Eg: the Parent has a Textarea named "ta_1"

  • Calling portal screen from workflow and required two level approvals to approve in portal

    Hello Experts, I have a requirement that, I would trigger a process order approval workflow from SRM SUS portal. Agent when he clicks the link in the attached mail, it has to take him to the portal screen to approve and it has to go to next level man

  • Transfer library to external drive

    My hard drive on my imac desktop is full.  How do I transfer my itune and iphoto libraries to an external drive?

  • ATP check against delivery with multiple plants

    Hi all, we have R/3 4.6c and APO 3.1 systems, this topic is related to ATP functionlity. Our Existing ATP Practice in R/3: 1.sales are delivered via several Distribution Centers  (DC). 2.The right DC is determined by a delivering plant which chosen d