I have an input file that has a list of four character variables. The number of rows on the file can vary. This list has the codes that I would like to select from a Sql Server table.
Unfortunately the way our system is set up you cannot read an external file into the select statement which reads the table directly.
i.e. Select * from Table A where code in (Select code from input_file)
Does anyone know of an efficient way to pull only the codes on the list without hard coding them in the select statement (since the codes can change) or reading the entire file into a temporary table and then selecting only the codes on the input file.
Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.