Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Data Recovery - After Drop a table and creating the same table

Data Recovery - After Drop a table and creating the same table

Scheduled Pinned Locked Moved Database
databasesql-servercomsysadmintools
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    adnanrafiq
    wrote on last edited by
    #1

    Hi All, i did a serious mistake, and loss all the data of one financial year in sql server. I create the script of all tables of a database, and i was inteneded to execute this script on a new database, but unfortunately i executed on the same database, now all my tables are blank (no data). One more thing, i did not planned any backup model for this now i only have .mdf & .ldf files. HOw i can recover it, is there any way, please suggest. Many Thanks & Best Regards, adnan

    Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

    K 1 Reply Last reply
    0
    • A adnanrafiq

      Hi All, i did a serious mistake, and loss all the data of one financial year in sql server. I create the script of all tables of a database, and i was inteneded to execute this script on a new database, but unfortunately i executed on the same database, now all my tables are blank (no data). One more thing, i did not planned any backup model for this now i only have .mdf & .ldf files. HOw i can recover it, is there any way, please suggest. Many Thanks & Best Regards, adnan

      Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

      K Offline
      K Offline
      Krish KP
      wrote on last edited by
      #2

      If transaction log is enabled, then you can try restoring from transaction log. however i've never tried this. you have to refer to some articles on how to do.

      Regards KP

      A 1 Reply Last reply
      0
      • K Krish KP

        If transaction log is enabled, then you can try restoring from transaction log. however i've never tried this. you have to refer to some articles on how to do.

        Regards KP

        A Offline
        A Offline
        adnanrafiq
        wrote on last edited by
        #3

        Thanks for Repley. I tried google a lot, but dont find any suitable solution, actually i did blunder, becuase script also have drop database, and create databse with the same name, please reffer me to some article. Many Thanks & Best Regards, adnan

        Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

        P K 2 Replies Last reply
        0
        • A adnanrafiq

          Thanks for Repley. I tried google a lot, but dont find any suitable solution, actually i did blunder, becuase script also have drop database, and create databse with the same name, please reffer me to some article. Many Thanks & Best Regards, adnan

          Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Sorry to say, but you are stuffed here.

          Deja View - the feeling that you've seen this post before.

          A 1 Reply Last reply
          0
          • P Pete OHanlon

            Sorry to say, but you are stuffed here.

            Deja View - the feeling that you've seen this post before.

            A Offline
            A Offline
            adnanrafiq
            wrote on last edited by
            #5

            Is there any option to recover, if i tried to recover old files by using data recovery software like easyrecovery.......

            Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

            K 1 Reply Last reply
            0
            • A adnanrafiq

              Thanks for Repley. I tried google a lot, but dont find any suitable solution, actually i did blunder, becuase script also have drop database, and create databse with the same name, please reffer me to some article. Many Thanks & Best Regards, adnan

              Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

              K Offline
              K Offline
              Krish KP
              wrote on last edited by
              #6

              As long transaction log is present, it is possible to recover. once is truncated or deleted, i don't think is possible.

              Regards KP

              A 1 Reply Last reply
              0
              • A adnanrafiq

                Is there any option to recover, if i tried to recover old files by using data recovery software like easyrecovery.......

                Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

                K Offline
                K Offline
                Krish KP
                wrote on last edited by
                #7

                Yes it may be possible to recover deleted files (if the disk space is not used by other files) with some data recovery tools.

                Regards KP

                1 Reply Last reply
                0
                • K Krish KP

                  As long transaction log is present, it is possible to recover. once is truncated or deleted, i don't think is possible.

                  Regards KP

                  A Offline
                  A Offline
                  adnanrafiq
                  wrote on last edited by
                  #8

                  Thanks for Helping to forget about it .

                  Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups