home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / sybase / 614 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.3 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!ucbvax!agate!biosci!uwm.edu!rutgers!micro-heart-of-gold.mit.edu!uw-beaver!cs.ubc.ca!newsserver.sfu.ca!sfu.ca!wolfgang
  2. From: wolfgang@fraser.sfu.ca (Wolfgang Richter)
  3. Newsgroups: comp.databases.sybase
  4. Subject: Re: Max IN clause
  5. Message-ID: <wolfgang.726345501@sfu.ca>
  6. Date: 6 Jan 93 18:38:21 GMT
  7. References: <ROB.93Jan5115202@fosters.med.utah.edu>
  8. Sender: news@sfu.ca
  9. Distribution: comp.database.sybase
  10. Organization: Simon Fraser University, Burnaby, B.C., Canada
  11. Lines: 27
  12.  
  13. rob@fosters.med.utah.edu (Rob Sargent) writes:
  14.  
  15.  
  16. >Has anyone seen any doc on How large the IN () clause can be if stack with constants.
  17.  
  18. >We may want to stick a large number of ints in parens to avoid a
  19. >joint. Upper bound = query_buf size?
  20.  
  21. >Thanks,
  22. >rjs
  23.  
  24. >--
  25. >Rob Sargent                      s-mail: Dept. of Human Genetics    
  26. >e-mail: rob@fosters.med.utah.edu         U. of Utah Medical School     
  27. >                         Eccles Genetics Bldg
  28. >                         Salt Lake City, Utah  84112
  29.  
  30. Correct me if I'm wrong, but doesn't Sybase convert an expression with
  31. IN to a JOIN behind the scenes before executing the query? So you will
  32. not really be avoiding a JOIN.
  33. -- 
  34. -- Wolfgang Richter (e-mail: wolfgang@sfu.ca)
  35. -- Academic Computing Services
  36. -- Simon Fraser University
  37. -- Burnaby, B.C.
  38. -- Canada V5A 1S6
  39. -- Phone: 604-291-4449
  40.