Re: how to know the table is exist in the database
- From: "joy.net" <luxingyu1@xxxxxxxxxxx>
- Date: Tue, 25 Oct 2005 16:17:42 +0800
Thanks to all for your input.
"Mark Rae" <mark@xxxxxxxxxxxxxxxxxxxxxxxxxx> дÈëÏûÏ¢
news:uWemvlT2FHA.3420@xxxxxxxxxxxxxxxxxxxxxxx
> "joy.net" <luxingyu1@xxxxxxxxxxx> wrote in message
> news:%23DX0hgT2FHA.3912@xxxxxxxxxxxxxxxxxxxxxxx
>
> Depends on the database and/or on the database access method...
>
> E.g. if you want to know if the Orders table exists in SQL Server, send it
> the following scalar query:
>
> SELECT COUNT(*) FROM sysobjects WHERE name = 'Orders'
>
> If the result is 1, the table exists - if the result is 0, the table
doesn't
> exist.
>
>
.
- References:
- Re: how to know the table is exist in the database
- From: Mark Rae
- Re: how to know the table is exist in the database
- Prev by Date: Re: Copy a table using ADO.Net
- Next by Date: Re: how to know the table is exist in the database
- Previous by thread: Re: how to know the table is exist in the database
- Next by thread: Re: how to know the table is exist in the database
- Index(es):
Relevant Pages
|