|
<%@ Language=VBScript %>
<!--#include file=scripts\inc_common.asp -->
<%
' On Error Resume Next
dim dba, rec, s, xml
set dba = new DBAdmin
dba.Connect Session(DBA_cfgSessionDBPathName), Session(DBA_cfgSessionDBPassword)
set rec = dba.RunScript(Request("sql").Item, False, True, null)
set s = Server.CreateObject("ADODB.Stream")
rec.Save s, adPersistXML
Randomize
Response.AddHeader "Content-Disposition", "attachment; filename=" & Int((Rnd() * 10000000)) & "_export.xml"
Response.ContentType = "application/octet-stream"
Response.CharSet = "UTF-8"
Response.Write s.ReadText
s.Close
set s = nothing
rec.Close
set rec = nothing
set dba = Nothing
%>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I was born in small town Penza, Russia, in October 13th, 1975 yr. So my mother tongue is Russian. I finished the school there and learned in University, then I came to Israel and since then, I live there (or here *s*)
My profession is a C++ programmer under MS Windows platforms, but my hobby is Web development and ASP programming.
I started interesting in computers and programming somewere in 1990-1991 yrs., when my father brought home our first computer - Sinclair ZX Spectrum (he made it by himself). So I learned Basic and joined the Basic programmers club at my school (me and my friend were the only 2 guys from all school there, lol). After I finished the school (1992yr) I decided to continue my study at University and got specialization Operation Systems and Software Engineer. Although I still like my profession, but I always wanted something new, thus I learned HTML, Javascript and ASP which turned to be my hobby