[DllImport("odbc32.dll", SetLastError = true)] public static extern int SQLError( IntPtr henv, IntPtr hdbc, IntPtr hstmt, StringBuilder szSqlState, out int pfNativeError, StringBuilder szErrorMsg, short cbErrorMsgMax, out short pcbErrorMsg );
Microsoft documentation: Link
Last updated 1 year ago