The identifier will be the @WKSTA but I cant seem to find a way to query if it exists or not so that the script will INSERT or UPDATE.

For example...
If the @WKSTA exist already on the table then UPDATE
If the @WKSTA not on table then INSERT

I am pretty much a newbie with SQL statements.

All the help is very appreciated!!!!!
_________________________
Chaguito, MCP