Created
May 16, 2011 14:05
-
-
Save FilipDeVos/974498 to your computer and use it in GitHub Desktop.
Thread Safe Insert/Update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table updatetest | |
( | |
id int primary key, | |
name varchar(20), | |
amount numeric | |
) | |
insert into updatetest values (1, 'first', 100) | |
insert into updatetest values (2, 'second', 500) | |
insert into updatetest values (3, 'third', 30) | |
insert into updatetest values (4, 'fourth', 200) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment