Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 SELECT QUERY OUTPUT IN VARIABLE NAME

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-03-13 : 12:38:44
RVP writes "Dear IT Gurus,

Table A Table B

Field Name : A1 Field Name : A2

10 25
20 50
30 60

Problem :

I have to select the values from Table B based on some conditions and the result to be stored in variable.

For Example :

I want 50 (A2 from Table2) based on 20 (A1 from table1) and the result to be stored in ABC (Variable)

Regads,

Ravi
India
"
   

- Advertisement -