XML is a programing laguage that is used mostly to wrap data, basicaly what it does is scripts the data into a format that is easy to understand and present it.
It is not hard to learn though you can get an visual tool to do it for you. AL Almeida
NT/DB Admin
"May all those that come behind us, find us faithfull"
Explain what you mean by "script only the datas."
Thanks, Terry L. Broadbent FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
I understand the question now but not your purpose. If you want to export or transfer the data, use DTS or BCP. You can't "script" data in the same manner as you script database objects. Scripts drop and/or create objects. You don't drop/create data.
Perhaps you could give more detail about your process and what you need to accomplish. Terry L. Broadbent FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
You will need to use BCP or DTS to export and then import the data. Check out a stored procedure uploaded by Jeroen Meijerink to SWYNK.COM. The procedure, sp_bcpout_alltables.sql, will export alll tables in a database. Download the procedure from the following link.
The script creates a stored procedure. Open a database such as master. Run the script to create the stored procedure. Make sure you review the script first to change the BCP login and password as needed for your server.
You execute the stored procedure with two parameters, database name and path for the data.
All the data will be dumped to the specified directory. You will need to use BCP or DTS to import the data after changing the code page. Terry L. Broadbent FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
Use the Import/Export wizard to set up a DTS package. It will allow you to choose an input file and the destination table. You'll need to create a package for each file if you use the wizard. When you become comfortable with DTS pacakages, you can create multiple transfers in one package. Terry L. Broadbent FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.