May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.
declare @sql varchar(1000) SELECT @sql=@sql + Column_name + ',' from INFORMATION_SCHEMA.Columns where table_name = '##UDF_HCLOT_prep' and Column_name not like '[Lot-UDF]%' select @sql = left(@sql, len(@sql)-1) select @sql = 'select ' + @sql + ' Into ##LotUDFs From ##UDF_HCLOT_prep' exec (@sql) Select * From ##LotUDFs
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.