Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Sophia database
Conversations
About
getting upsert result
17 views
Skip to first unread message
Evgeny M.
unread,
Jan 26, 2016, 2:53:45 PM
1/26/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Sophia database
Is there a way to get result of sp_upsert() immediatelly?
Not error code, but actual changed value, in atomic operation without transaction?
Dmitry Simonenko
unread,
Jan 26, 2016, 3:10:22 PM
1/26/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Sophia database
Whole point of the Upsert operation is to avoid disk reads.
In your case, you may try to read the key right after after the operation.
Evgeny M.
unread,
Jan 27, 2016, 1:46:25 AM
1/27/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Sophia database
Ah, ok. Thought the point of the op is just atomic change without using transactions.
вторник, 26 января 2016 г., 23:10:22 UTC+3 пользователь Dmitry Simonenko написал:
Reply all
Reply to author
Forward
0 new messages