只有MDF檔 及 phpadmin(空間给的工具,没有附加檔案功能). 请问如何放上空間?

解决方案 »

  1.   

    phpadmin 可以上载 .sql.zip 但这檔怎样做出来. (在自己的pc 装了sql2005 用附加檔案可加到数据库). 好像有生成脚本这东西. 但怎樣用?
      

  2.   

    能用语句不?USE [master]
    GO
    CREATE DATABASE [Test] ON 
    ( FILENAME = N'D:\Local\Test.mdf' )
     FOR ATTACH
    GO
      

  3.   

    不能create database , 因空間已create了, 自没有内容.
      

  4.   

    这样也不成 :
    sp_attach_single_file_db 'new_db_name', 'mdf_file_location'Replace "new_db_name" with the name of the new SQL database. Replace "mdf_file_location" with the physical location of the MDF file. This is the full physical path such as "C:\directory\mdf_file.MDF."
      

  5.   

    PHPMYADMIN 接受 脚本脚本怎做?
      

  6.   

    结贴:一些 mdf 修复软件可做到.