query from Murty
query from Murty
От:
"D.N.MURTY" <dnmurty@cal2.vsnl.net.in>
Дата:
I created a programme in Visual Basic(IIS Application) to create a table in the Access Database based on inputs from the user. However I am not able to find out a way to" make the code check for existing tables" to avoid dupilaction of tables by the same name.
Do You have a solution to this problem ?
my e-mail number : dnmurty@vsnl.com
Re: query from Murty
От:
Joe Shevland <shevlandj@kpi.com.au>
Дата:
SELECT * FROM pg_tables WHERE tablename NOT LIKE 'pg_%' will list the tables present in the database... you can go from there. Cheers, Joe > "D.N.MURTY" wrote: > > I created a programme in Visual Basic(IIS Application) to create a table in > the Access Database based on inputs from the user. However I am not able to > find out a way to" make the code check for existing tables" to avoid > dupilaction of tables by the same name. > Do You have a solution to this problem ? > > my e-mail number : dnmurty@vsnl.com > -- Joe Shevland Principal Consultant KPI Logistics Pty Ltd http://www.kpi.com.au mailto:shevlandj@kpi.com.au
Re: query from Murty
От:
Byron Nikolaidis <byron.nikolaidis@home.com>
Дата:
> "D.N.MURTY" wrote: > > I created a programme in Visual Basic(IIS Application) to create a > table in the Access Database based on inputs from the user. However I > am not able to find out a way to" make the code check for existing > tables" to avoid dupilaction of tables by the same name. > Do You have a solution to this problem ? > > my e-mail number : dnmurty@vsnl.com > Isn't there some kind of meta function such as odbc's SQLTables available to your application? Byron