Class for DDL

Class for DDL

am 03.02.2005 22:25:04 von cedric

I want to create, alter and delete tables (not records) from ASP code. Does
anybody know of a class (preferably ASP or DLL) that hides the complexity of
the Data Definition Language?

Cedric

Re: Class for DDL

am 03.02.2005 22:35:28 von reb01501

Cedric wrote:
> I want to create, alter and delete tables (not records) from ASP
> code. Does anybody know of a class (preferably ASP or DLL) that hides
> the complexity of the Data Definition Language?
>
> Cedric
set cn=createobject("adodb.connection")
cn.open ""
cn.execute("drop table table_to_be_dropped",,129)
cn.close:set cn=nothing

This is complex?

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.