SQL:Placing Column values in variables using single query

Posted by Shyju on Stack Overflow See other posts from Stack Overflow or by Shyju
Published on 2010-03-30T17:18:18Z Indexed on 2010/03/30 17:23 UTC
Read the original article Hit count: 339

Filed under:

In SQL server,How can i place the value of more than one column in variables using one query

Ex : My query is :

SELECT ET.ID,ET.Description,ET.DefaultTemplateText 
FROM TBL_EMAILTEMPLATE ET 
WHERE ET.NAME='OneWeekReminder'

I want to place the Column values in variables.

Thanks in advance for the help

© Stack Overflow or respective owner

Related posts about sql