asked on
CREATE PROCEDURE [dbo].[Find_Columns]
@name nvarchar(128)
AS
BEGIN
select t.name as [Table Name] , c.name as [Column Name]
from sys.tables t, sys.columns c
where t.[object_id] = c.[object_id]
and c.name = @name
END
Microsoft SQL Server 2005 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. It includes support for managing XML data and allows a database server to be exposed over web services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests.
TRUSTED BY