Excel file load in Temp table in SQL Server 2012

  • I want to load below value in temp table.I want to compare the register number in the below two value with each other. Problem here is Register number is sorted improperly and giving wrong result.Kindly provide any possible solution for the same. 

    ClassroomRegister Number
    123D1455,D1456,D1478
    124E1234,F123456,T666
    125YT567,FF123,QQ123
      
      
    ClassroomRegister Number
    123D1456,D1478,D1455
    124E1234,T666,F123456
    125YT567,QQ123,FF123

    Saravanan

  • Duplicate of https://www.sqlservercentral.com/Forums/1891681/Excel-file-load-in-Temp-table-in-SQL-Server-2008, however, considering that the OP states 2012 and 2008 in their subject header, not sure what version they are actually using.

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply