Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: knobe
  • Order by date
  1. knobe

    Using a variable for a column name

    Try this CREATE PROCEDURE [dbo].[Eval_Test_Proc] @FldName text AS DECLARE @sql varchar(100) select @sql='Select ' + @FldName + ' from dbo.TeamEval_Data' exec (@sql) GO

Part and Inventory Search

Back
Top