Re: Submit Multiple SQL statemtents to one Execute statement
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Wed, 6 Jun 2007 20:12:34 -0400
egan006@xxxxxxxxx wrote:
HI
I have code
Firstly
dim sql as string
dim con as adodb.connection
dim conStr as sring
conStr = "DSN Warehouse IP etc etc etc"
con.open constr
'This is not complete but this is not the problem'
Maybe, maybe not:
http://www.aspfaq.com/show.asp?id=2126
I have a text box on the form which is like an IDE
the user types a SQL into this say for example
delete from customer_table;
insert into customer_table
select * from old_customer_table;
or
drop database master
Ah, but this application is only intended to be used by trustworthy users. I
get it. :-)
This SQL script contains 2 statement which get assigned to sql
variable
when i try 'con.execute sql' i get an error
any suggestions,
LOL
How about:
Tell us what error you are getting!
Or
Tell us what database type and version you are using!!
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- References:
- Submit Multiple SQL statemtents to one Execute statement
- From: egan006
- Submit Multiple SQL statemtents to one Execute statement
- Prev by Date: Submit Multiple SQL statemtents to one Execute statement
- Next by Date: tweak of A2002 Enterprise Dev Handbook fails?
- Previous by thread: Submit Multiple SQL statemtents to one Execute statement
- Next by thread: tweak of A2002 Enterprise Dev Handbook fails?
- Index(es):
Relevant Pages
|
|