Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT DISTINCT nb1
FROM table1
WHERE name LIKE '%' + @name_passed + '%'
SELECT DISTINCT @nb2 = nb1
FROM ...
DECLARE @sql varchar(1000),
@nb2 varchar(20)
SET @sql = 'SELECT DISTINCT @nb2 = nb1 FROM ' + @table + ' WHERE name LIKE ''%' + @name_passed + '%'''
EXEC sp_executesql @sql, N'@nb2 OUTPUT', @nb2