Database: Get affected records count after DELELE / UPDATE
By Serhii Kolomiiets
27 Aug 2013 01:23
English
4 Replies
Hello !
I am working with database just as described in documentation:
...
sql = L"UPDATE myTable1 SET column2 = 'Converted Data' WHERE column2 = 'Initial Data'";
pDatabase->ExecuteSql(sql, true);
...
QUESTION: How can I obtain a number of affected records after DELETE / UPDATE ?
Doc is silent about this... :(
Edited on 18 03, 2014
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.