Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
DECLARE @AsIsTable nvarchar(MAX); DECLARE @ChangingAsIsColumnsToTheEquivelantValuesSQL varchar (MAX); SET @ChangingAsIsColumnsToTheEquivelantValuesSQL = N'SELECT ID ,(SELECT ServiceTypeID FROM [dbo].[tb_List_ServiceType] WHERE ServiceTypeName = R.ServiceTypeName) As ServiceTypeID FROM' +@AsIsTable + ' AS R'; EXECUTE(@ChangingAsIsColumnsToTheEquivelantValuesSQL)
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.