INFORMATION_SCHEMA use is not recommended
James-DBA-Anderson opened this issue · comments
James Anderson commented
Aaron Bertrand explains why the use of INFORMATION_SCHEMA is not a good idea here
His comment below the post explains how to obtain ordinal position from sys.columns. The is_identity value is also available in sys.columns