I use this select statement:
SELECT NVL(MAX (KEY),0) FROM JIDS_DATASOURCES)+1
to get the next primary key for that table when i am inserting a new row in the table.
How can i convert this over to SQL server and still get the same functionality???
Tricia