Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan 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
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap