Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8990053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:24:47+00:00 2026-06-15T22:24:47+00:00

we use sql server as database with our programs but we want to have

  • 0

we use sql server as database with our programs but we want to have a backup for 10,15 of our critical tables so that if server with database crashes we can have those tables in a file on our local server.

I am confused on what to use to store that data . XML , JSON or any other format . I need some advice . Thank You

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:24:48+00:00Added an answer on June 15, 2026 at 10:24 pm

    Well, XML allows you to store data in the format of open tag/close tag, attributes, etc. Pretty much what you see on a typical HTML file it’s a good example of an XML File. So, you could generate something like this for store table definitions:

    <table name='MyTable'>
        <column type='numeric'>mycol0</column>
        <column type='varchar'>mycol1</column>
        <column type='numeric'>mycol2</column>
    </table>
    

    and something like this for storing records:

    <record table='MyTable'>
         <datacolumn name='mycol0'>10</column>
         <datacolumn name='mycol1'>Hello</column>
         <datacolumn name='mycol2'>43</column>
    </record>
    

    On the other hand you have JSON. Unlike XML, JSON’s primary used if for serializing and data between client and server, different applications, etc. Here’s an example:

    {"employees": [{ "firstName":"John" , "lastName":"Doe" },  { "firstName":"Anna" , "lastName":"Smith" },  { "firstName":"Peter" , "lastName":"Jones" } ] }
    

    (This example’s been taken from W3School).

    So, it’s clear to me that if you want to export your database into a plain-text format, XML would be the best choice. You could find other alternatives, like writing your own format, but XML is the widest choice, since it’s simple, easy to read and there’s a lot of libraries that can help you out exporting and importing your data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We use SQL server 2008 as our RDBMS and we have a database that
I'm trying to use SQL Server Management Studio to edit database tables. But I
I use SQL Server 2008 R2 and have a table that I want no
We have a Sql Server 2000 database application that needs to update our applications
We currently have a nicely relational sql server 2008 database that is our master
I have an existing SQL Server 2005 database that runs our accounting/inventory application. We
I can use the sql server management studio to open a sqlserver 2000 database,
I use SQL Server 2005. I have a simple logging table that my web
I just started to use SQL Server 2008. I have a winforms application that
We have C# entity classes which map to some of our SQL Server database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.