Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. squest77

    SQL Pivot, multiple columns to rows

    Part of the problem with retrieving the data is the fact that I don't have a ton of information/tools. I know the tables are big, but don't know the specifics. And the normal queries that I run finish in about 6-7 hours time. Of course these probably could be quicker, but we have not say in...
  2. squest77

    SQL Pivot, multiple columns to rows

    I am trying to create a table that has the following structure: SSN, ICD9 From a table with the following structure: SSN, ICD9_1, ICD9_2, ..., ICD9_8 The only way I can see accomplishing this now is by using a massive union statement: SELECT DISTINCT SSN, ICD9 FROM ( SELECT SSN, ICD9_1 AS...

Part and Inventory Search

Back
Top