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. take backup with query

take backup with query

Scheduled Pinned Locked Moved Database
databasehelp
3 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.
  • V Offline
    V Offline
    vipinpaliwal1980
    wrote on last edited by
    #1

    hi all, i want to take backup my database with query. pls help and give me query vipin

    F C 2 Replies Last reply
    0
    • V vipinpaliwal1980

      hi all, i want to take backup my database with query. pls help and give me query vipin

      F Offline
      F Offline
      Frank Kerrigan
      wrote on last edited by
      #2

      I assume your using SQL Server 2000 Construct a DTS package that will do the backup. This can be run with TSQL Example below of running a DTS package via TSQL exec master.dbo.xp_cmdshell 'dtsrun -E -Sserver1 -N"Export Invoices"' Google has lots of examples on how to do this. Look where you want to go not where you don't want to crash. Bikers Bible

      1 Reply Last reply
      0
      • V vipinpaliwal1980

        hi all, i want to take backup my database with query. pls help and give me query vipin

        C Offline
        C Offline
        Colin Angus Mackay
        wrote on last edited by
        #3

        You can use BACKUP[^]


        "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog

        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