I tried @@Identity as well as a few other variants that I came across, but none work. I'm sure if I just send those commands to the database it would work, but the wizard does not allow me to create those commands in the first place because it cannot parse them.