LoginSignup
0
0

More than 5 years have passed since last update.

テーブル名取得

Posted at
select
     t.name    as テーブル名_物理名
    ,ep.value  as テーブル名_論理名
from
     sys.tables              t
    ,sys.extended_properties ep
where
    t.object_id = ep.major_id
    and ep.minor_id = 0
order by 1
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0