Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Checking the existense of TABLE


Message #1 by =?iso-8859-1?q?Ghislain=20DZOU?= <ghygi@y...> on Thu, 16 Aug 2001 13:23:56 +0200 (CEST)
 I am creating a table with SQL code " CREATE TABLE

tab1(name char(40), ...) but before creating this one

I need to check if it already exist.

Can someone help me to check if a table exist in a

database with an ASP code ?



Thanks

Message #2 by Steve Carter <Steve.Carter@t...> on Thu, 16 Aug 2001 13:31:41 +0100
If using ADO then you can use OpenSchema to read the structure of the DB.



> -----Original Message-----

> From: Ghislain DZOU [mailto:ghygi@y...]

> Sent: 16 August 2001 12:39

> To: ASP Databases

> Subject: [asp_databases] Checking the existense of TABLE

>

>

>  I am creating a table with SQL code " CREATE TABLE

> tab1(name char(40), ...) but before creating this one

> I need to check if it already exist.

> Can someone help me to check if a table exist in a

> database with an ASP code ?

>

> Thanks


  Return to Index