0

Let´s say I have a column with 10 unique ISIN values in Excel.

I want to pass these ISINs as an argument/parameter to query. I know it works with a single cell, where I put "?" in the query and the cell as parameter, but it doesn't work with multiple cells.

I want to filter the SELECT statement with a WHERE clause, where it returns only the rows with these ISINs. Something like this:

SELECT
  e.ISINCode 'ISIN', 
  e.Equities_ShortName 'ShortName', 
  e.Equities_Name 'LongName'
FROM Equities e,  
AND e.ISINCode IN (?)

Is it even possible to do it? We use Sybase SQL, or iSQL, I´m not too familiar with these databases, I just know a little bit of SQL coding. Thank you

2
  • this might help stackoverflow.com/questions/15011207/… Commented Feb 19 at 13:31
  • I am not sure if the query you want is to be executed in Excel or Sybase. Please can you clarify. And how does the data get from the database into Excel? Or from Excel into the database? Or are you working just in Excel (in which case what does Sybase have to do with it)? Commented Feb 22 at 14:50

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.