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.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2003-04-07 : 07:42:45
|
swaty writes "How to store the result of a SQL statement:select max(Sr_No) from books; in a variable?" |
|
joldham
Wiseass Yak Posting Master
300 Posts |
Posted - 2003-04-07 : 07:54:51
|
DECALRE @myVariable varchar(200)Select @myVariable = max(sr_no) from BooksJeremy |
|
|
|
|
|