Click here to Skip to main content
15,213,032 members
Rate this:
Please Sign up or sign in to vote.
See more:
i need to pass column in url with query string??

What I have tried:

select 'https://www.w3schools.com?key =name' as url from table 
Posted
Updated 31-May-20 11:52am

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Do you mean:
SELECT 'https://www.w3schools.com?key = ' + ColumnName AS url FROM MyTable
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100