BulkXML 

Home
Up
What's New
DTS
SQL-DMO
SQL-NS
XP's
SQL Agent
Events
FAQ
Links
About...


BulkXML.exe - Bulk load XML files in to SQL Servers

version: 1.0x05

last updated: 24 August 2004

platform: SQL Server 2000 running Windows NT 4.0 and higher

Description:

BulkXML is a command line wrapper around the XML bulk load interface SQLXMLBulkLoad, which was introduced in SQLXML.

Usage:

BulkXML.exe version 1.0x4

BulkXML usage:

-S SQL server name
-E Integrated security
-U User name
-P Password
-d Database

-i Data file
-s Schema file
-e Error log file
-p Temp file path

-B Bulk load off (default On)
-D Drop tables
-G Generate schema
-I Keep identity
-K Ignore duplicate keys
-N Keep NULLs
-T Force table lock
-X Check constraints
-t Transaction
-u Use ID
-x XML fragment

-V Verbose mode
-v Version information
-? Command line usage

Sample usage:

BulkXML.exe -S (local)\dev -E -d testdb -i c:\temp\xml\SampleXMLData.xml -s c:\temp\xml\SampleSchema.xml -e c:\te
mp\xml\sample.log -p c:\temp -V

Output:

BulkXML usage:

-S = (local)\dev
-E = True
-U = (null)
-P = (null)
-d = testdb

-i = c:\temp\xml\SampleXMLData.xml (exists True)
-s = c:\temp\xml\SampleSchema.xml (exists True)
-e = c:\temp\xml\sample.log
-p = c:\temp (exists True)

-B = True (BulkLoad)
-D = False (SGDropTables)
-G = False (SchemaGen)
-I = False (KeepIdentity)
-K = False (IgnoreDuplicateKeys)
-N = False (KeepNulls)
-T = False (ForceTableLock)
-X = False (CheckConstraints)
-t = False (Transaction)
-u = False (SGUseID)
-x = False (XMLFragment)

Installation:

Simply copy BulkXML.exe onto your machine, make sure that SQLXML 3.0 SP2 is installed!

Download BulkXML.zip

Download BulkXML-src.zip (Visual Studio 2003 - C++ project)

Requirements:

Planned functionality enhancements:

  • None

  • Other suggestions, ideas, please send email to ideas

***

Questions or problems regarding this web site should be directed to Web Master.
Copyright © 1991-2005 SQLDev.Net. All rights reserved.
Last modified: 04/06/05.