Restore Database

RS8RS8 Member Posts: 121
Hi all,

I am having Navision Database in ldf & mdf. how can i restore this database through Sql.
Can anyone suggest me.

thanks
Rs

Comments

  • navuser1navuser1 Member Posts: 1,329
    RS8 wrote:
    Hi all,

    I am having Navision Database in ldf & mdf. how can i restore this database through Sql.
    Can anyone suggest me.

    thanks
    Rs

    Create the Db thru SQL and attach these two.
    Now or Never
  • kinekine Member Posts: 12,562
    You do not need to create the DB on SQL, just use the Attach functionality and select the DB name and the files.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • navuser1navuser1 Member Posts: 1,329
    Ick !!!

    Yes. Kine is right.

    ### In SQL Server Management Studio Object Explorer, connect to an instance of the Microsoft SQL Server Database Engine, and then expand that instance.

    ### Right-click Databases and click Attach.

    ### In the Attach Databases dialog box, to specify the database to be attached, click Add; and in the Locate Database Files dialog box, select the disk drive where the database resides and expand the directory tree to find and select the .mdf file of the database; for example:

    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\AdventureWorks_Data.mdf
    Now or Never
  • hardik_shahhardik_shah Member Posts: 219
    Ya...u have to just Attach file.....BUT be careful make advance copy of it........ :thumbsup:
  • navuser1navuser1 Member Posts: 1,329
    May be You can get more same reply from different people. :whistle:
    Now or Never
Sign In or Register to comment.