embedded-sql

Multiple dynamic values in a Pro *C query IN clause

放肆的年华 提交于 2019-12-11 11:42:43
问题 I want to read a flat file to fetch a dynamic list of values (number of values is not fixed) & then I want to use this list of values in the IN clause of an select query in Pro *C. What is the best way to achieve this using Pro *C? I came across a few useful articles here & here but I just want to check if there is a more suited solution to my use case. It will be also useful to weigh the pros and cons of options that I might have. Just to give an example, the following is the query: SELECT