Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ADO und Sperproblem

Empfohlene Antworten

Veröffentlicht

Hallo,

ich greife auf SQL Server 2000 mit ADO zu.

Bei insert kriege ich Datenbankfehler :

Sperrproblem bei Speichern (OptLock)

Hat da jemand schon damit Erfahrung ??

  • Autor

Ok, mein Problem hab ich gelöst, da habe ich jedoch eine Frage bezüglich ADO und insert

Ich mache es so


_CommandPtr cmd;
cmd.CreateInstance(__uuidof(Command));
cmd->CommandTimeout = timeout;
cmd->ActiveConnection = getConnection();
cmd->CommandText = (const char *)sql;


_variant_t count(DISP_E_PARAMNOTFOUND, VT_ERROR);
_variant_t parameters(DISP_E_PARAMNOTFOUND, VT_ERROR);
long option = adCmdText; // adExecuteRecord
_RecordsetPtr rs = cmd->Execute(&count, &parameters, option);<- ist es nicht besser ??
_RecordsetPtr rs = cmd->Execute(&count, NULL, option); <- so mache ich


[/PHP]

Gut kann man vielleicht noch den inset beschleunigen ??

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.