some tips about sys.objects table
2008-01-25 14:37
435 查看
all database objects are stored in sys.objects table. they can be classified as following type:
U ==> normal table
V ==> View
S ==> System table
P ==> Store Procedure
...
for example, if we 'd like to query all tables which are named with ds_in_*, we can write like this:
select
object_id,name
from
sys.objects
where
type='U'
and name like 'ds_in_%'
U ==> normal table
V ==> View
S ==> System table
P ==> Store Procedure
...
for example, if we 'd like to query all tables which are named with ds_in_*, we can write like this:
select
object_id,name
from
sys.objects
where
type='U'
and name like 'ds_in_%'
相关文章推荐
- some questions and tips about java
- Some tips about Control Flow in Python
- Some tips about Class in Python
- some tips about python Six
- Some Tips about Interbase
- Some tips about Abstract base classes and pure virtual functions
- About GNIT some tips
- Some indexes or index [sub]partitions of table SYS.WRH$_ACTIVE_SESSION_HISTORY have been marked unus
- Some tips about crawling large external data with bcs connector
- Some tips about python
- Share some tips about android develop(一)
- some tips about vector in C++ STL
- some tips about shell variables
- MaxPooling的作用 and some tips about CNN
- some tips about python
- Some tips about Selenium UI testing
- some tips about python Three
- Some tips about how to reverse Array with C#
- some tips about python default value....
- Some tips about ubuntu server | or it may works on other linux distributions too