Problem with max query

  • Thread starter Thread starter b.ashish.b
  • Start date Start date
B

b.ashish.b

How can we get the maximum value from multiple fields within the same
record in SQL-Server 2000.
 
How can we get the maximum value from multiple fields within the same
record in SQL-Server 2000.

You may get a better answer in one of the SQL Server newsgroups, but...

Can you not just use:
SELECT MAX(field1), MAX(field2) FROM tablename
?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top