I am trying to retrieve the auto increment ID of a record inserted into a MySQL table. I am using the MyOLEDB 3 driver with ADO in ASP (JScript). The INSERT statement is successful but a subsequent call to execute SELECT LAST_INSERT_ID() always returns 0. My code (simplified) is below:
var sSql="INSERT INTO Registration (RegistrationID, name, email) VALUES (NULL, 'Me', 'email@example.com')";
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
Today (2016) Maxmind has a new approach to the distribution of its data sets. This article may be obsolete. Instead of using the examples here, have a look at the MaxMind API (https://www.maxmind.com/en/geolite2-developer-package). …
In this installment of my SQL tidbits, I will be looking at parsing Extensible Markup Language (XML) directly passed as string parameters to MySQL 5.1.5 or higher. These would be instances where LOAD_FILE (http://dev.mysql.com/doc/refm…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro:
1 - Those with PCIe drives (and haven't found cloning software that works on them).
2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…