select a.object_id as tableId, a.name as tableName, b.name as columnName
from sys.all_objects a, sys.all_columns b
where a.object_id = b.object_id
and a.type = 'U'
order by a.name
from sys.all_objects a, sys.all_columns b
where a.object_id = b.object_id
and a.type = 'U'
order by a.name