home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / sybase / 632 < prev    next >
Encoding:
Text File  |  1993-01-08  |  949 b   |  29 lines

  1. Newsgroups: comp.databases.sybase
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!ellis!ecr2
  3. From: ecr2@ellis.uchicago.edu (corprew reed)
  4. Subject: possible FAQ Question...
  5. Message-ID: <1993Jan8.155356.19950@midway.uchicago.edu>
  6. Keywords: count,query
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Reply-To: ecr2@midway.uchicago.edu
  9. Organization: University of Chicago Computing Organizations
  10. Date: Fri, 8 Jan 1993 15:53:56 GMT
  11. Lines: 16
  12.  
  13. Hi.
  14.  
  15.     I was wondering if it was possible to find out the number of
  16. rows that a query will return before accessing the data without using
  17. 'count(.*)' with select.  I have a large query that takes a while to
  18. execute, and I'm hoping to keep my application reasonably interactive
  19. by not executing it once for the count and once for the data.
  20.  
  21. Any answers or pointers would be appreciated, I think I've read all
  22. the relevant parts of the manual.
  23.  
  24. -corp reed
  25. reed@cshl.org
  26.  
  27.  
  28.  
  29.