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 |
|
QueMark
Starting Member
5 Posts |
Posted - 2002-03-02 : 10:27:08
|
| This is probably a simple one.I am looking for the best way to return how many records are in table specific to one user. I just need the number of rows. As I said I am looking for the best way, I can thiunk of a few ways but, I am sure there is a very simple way to do it that I just don't know about. |
|
|
Nazim
A custom title
1408 Posts |
Posted - 2002-03-02 : 10:44:36
|
| you can use count(*) .eg:select count(*) from tablename where <condition>HTH-------------------------------------------------------------- |
 |
|
|
QueMark
Starting Member
5 Posts |
Posted - 2002-03-02 : 11:39:54
|
Thanks, thought it would be easy |
 |
|
|
|
|
|