Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.02.25;
Скачать: CL | DM;

Вниз

View vs Table   Найти похожие ветки 

 
xxxx   (2004-01-30 16:25) [0]

Здраствуйте!
как програмным путем (при помощи запроса) различить
v


 
ZrenBy ©   (2004-01-30 16:28) [1]


select
table_type
from
information_schema.tables
where
table_name="MyName"


 
xxxx   (2004-01-30 17:24) [2]

use master - дает список баз
БД1, БД2, БД3 и т.д.

1) далее пишем
use БД1

2) получаем список tables
ADOConnect


 
ZrenBy ©   (2004-01-30 17:50) [3]


use pubs
--Список таблиц в БД pubs
select name from sysobjects where xtype="U"
--или
select table_name from information_schema.tables where table_type="base table"

--Список вьюх в БД pubs
select name from sysobjects where xtype="V"
--или
select table_name from information_schema.tables where table_type="view"

--Список SP в БД pubs
select name from sysobjects where xtype="P"
--или
select specific_name from information_schema.routines

--Список полей в таблице authors
select
column_name,
data_type,
character_maximum_length
from
information_schema.columns
where
table_name = "authors"


 
xxxx   (2004-01-31 10:39) [4]

OGROMNOYE SPASIBO!!!!!!!!!!!



Страницы: 1 вся ветка

Текущий архив: 2004.02.25;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.038 c
3-79635
Newb
2004-01-31 07:04
2004.02.25
Проблема с хранимой процедурой помогите :(((


1-79848
Fom
2004-02-10 17:07
2004.02.25
Как закрыть ChildForm по кнопке которая на ней?


3-79546
twist
2004-01-30 03:03
2004.02.25
Уважаемые, как из Delphi подсоедениться к кларионовской


3-79559
Крутыш
2004-01-29 17:39
2004.02.25
Поставщик для DBF


1-79835
novi
2004-02-10 20:27
2004.02.25
Компонент OpenDialog