area96
asked on
SQL query returning one value into variable
Ok I've been trying various different ways of doing this all day but with no luck.
I need to get a URL string from my MSSQL database,this string needs to be converted to a variable.
How can i use my SQL query that will product one result (a string) then put that result into a variable?
Thanks! This seems like such a simple issue to resolve but has given me such grief..
I need to get a URL string from my MSSQL database,this string needs to be converted to a variable.
How can i use my SQL query that will product one result (a string) then put that result into a variable?
Thanks! This seems like such a simple issue to resolve but has given me such grief..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SELECT @Variable = url
from urtable
Where