Hi all, Im creating a stored procedure/function in MS SQL which should return the missing series.
Example:
the table "orders" contain field name "ordNo".
ordNo
000001
000003
000005
the functions should return these values:
000002
000004
any idea?
thank you very much.