Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.022 c
1-79838
Yorick
2004-02-10 22:06
2004.02.25
Как изменить шрифт выводимый с помощью щгееуче на экран:


14-80145
Серж
2004-02-01 16:40
2004.02.25
Уравнение


1-79952
ИМХО
2004-02-13 16:49
2004.02.25
Проблема с использованием StrToDateTime


6-80057
Cr@$h
2003-12-19 10:29
2004.02.25
Особенности использования packet32.dll in win2k


3-79571
mvg_first
2004-01-19 16:40
2004.02.25
Insert, Update, Delete своими руками




   Наверх