how to list tabes based on column name in sybase?
2014-01-28 09:10
453 查看
select distinct object_name(id)
from syscolumns
where name = 'my_column_name'
order by object_name(id)
select distinct so.name
from syscolumns sc
, sysobjects so
where sc.id = so.id
and sc.name = 'my_column_name'
order by so.name
from syscolumns
where name = 'my_column_name'
order by object_name(id)
select distinct so.name
from syscolumns sc
, sysobjects so
where sc.id = so.id
and sc.name = 'my_column_name'
order by so.name
相关文章推荐
- How to easily concatenate text based on criteria in Excel? 如何将Excel中的文本按条件合并
- How to modify non-customizable entity in MS Dynamics CRM 4.0 (Add Product price column to Price List Item view)
- [转帖]HOWTO rename column name in Sqlite3 database
- About UID and How to autostart an application on boot up in 3rd- Startup List Management API
- How to set the DefaultButton in a Page Based on ASP.NET Master Page
- sql server query to get the list of column name in a table
- How to change the name in open with list / File association.
- How to display "Writing language" menu automatically in edwin context menu on Symbian S60
- [转]How to Use xp_dirtree to List All Files in a Folder
- How to grant access to SQL logins on a standby database when the guest user is disabled in SQL Serve
- How to list processes attached to a shared memory segment in linux?
- How to install Ruby on rails in Windows 2003/xp 如何安装ROR
- shellinabox : How to access ssh terminal in web browser on Linux Last updated on September 27, 2013
- How To Determine Table/View Name in a Form
- How to configure FTP Adapter based on IIS7.5 on a WINDOWS 2008 R2 OS
- grails - How to check if element in groovy array/hash/collection/list? - Stack Overflow
- How to Output a List of Files to a File and Sort Them in Linux
- How to compile and debug VLC player source code in eclipse IDE on Ubuntu 10.04 (lucid)
- How to set the default input focus on a field in an HTML web form
- How to save states of Views in Fragments on TabChange