您的位置:首页 > 移动开发 > Objective-C

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_%'
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: