Is there a way to tell SQL to get the max(ID) and add "1" to it where the value is NULL? But what I need is if there is more than one NULL value increase in increments of "1".
Is there an easy way to accomplish this? Sample data is below. Column "A" has the NULL value in it. We couldn't make this an identity column b/c when changes are being made and sent back in, they want to keep the same value for column "A"..
Thanks a million!!!
A B C D E F G H I J K L M N O
2741 501304 Joe Spellman 32.38 % Monthly USD Rice CO01 LA 9/24/2010 O
NULL 501304 Joe Spellman 45.15 % Monthly COP Travel CO01 LA Change Correction 9/25/2010 N
Is there an easy way to accomplish this? Sample data is below. Column "A" has the NULL value in it. We couldn't make this an identity column b/c when changes are being made and sent back in, they want to keep the same value for column "A"..
Thanks a million!!!
A B C D E F G H I J K L M N O
2741 501304 Joe Spellman 32.38 % Monthly USD Rice CO01 LA 9/24/2010 O
NULL 501304 Joe Spellman 45.15 % Monthly COP Travel CO01 LA Change Correction 9/25/2010 N