Re: [Phplib-users] Test whether db table exists using DB_SQL
Brought to you by:
nhruby,
richardarcher
From: Peter B. <re...@f2...> - 2001-08-17 17:15:31
|
At 10:21 PM 8/16/01 +0200, you wrote: >Why not create a small 'meta' table that contains a flag that you set on >the creation of the target table? >If the flag doesn't exist you have to create your table, otherwise the >table already exists. > >Maybe this approach is too simplistic, but at least it will work in every >DB environment. Great idea! Thanks a lot!! Cheers! Peter. --oOo-- Narrow Gauge on the web - photos, directory and forums! http://www.narrow-gauge.co.uk --oOo-- Peter's web page - Scottish narrow gauge in 009 http://members.aol.com/reywob/ --oOo-- |