Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Ltd. of Beijing City (abbr, HXTT)

HXTT DBF
Parameterize N values
krishna
2010-12-17 19:31:07.0
Hi,

i hava query, which gives the multiple keys.

select patient_key from patient where identifier='1234';
which gives N keys like bellow:
1JR7190Q3N0170760,
1JTC04146R0883050,
1JU40912IO0583050
and so on.

i have to pass these n keys as the parameter in another query.

select scanid from ScanAnalysis a where a.patient_key in(all the N keys )

i can hardcoded these values in (), but i want it parameterize N keys.
not hardcoded values, N parameter it has to take.

Thnaks,
krishna
Re:Parameterize N values
HXTT Support
2010-12-17 19:39:40.0
select scanid from ScanAnalysis a where a.patient_key in ( select patient_key from patient where identifier='1234');

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap