Advertisement
MatthijsFontys

Scope identity

Dec 15th, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.09 KB | None | 0 0
  1. INSERT INTO TREE (name) VALUES('myTree');
  2. SELECT VISIBLEID FROM TREE WHERE ID = SCOPE_IDENTITY();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement