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.

Sybase und SQL Server 2000 Abfrage

Empfohlene Antworten

Veröffentlicht

Ich habe ein Progi geschrieben der mit einem DB Sybase verbinden wahr.

Jetz habe ich ein SQL Server 2000 DB habe nur die DSN im Programm geentert und gehofft, dass der Zugriff viel schneller wird, aber nein es ist sogar umgekehrt dabei sende ich den Quellcodeabschnitt wo ich dar DB öffne

bool CVPDlg::OpenDB()

{ CString sConnect = "";

CString sQuerry = "";

m_pDatenbank = new (CDatabase);

sConnect.Format("DSN=TEST;Start=DBClient;UID=%s;PWD=%s",/*GetVP(),*/ GetDBA("User"), GetDBA("Passwort"));

sQuerry.Format("SELECT * FROM VERTRAGSPARTNER");

TRY

{ m_pDatenbank->OpenEx(sConnect, CDatabase::noOdbcDialog);

m_pVP.m_pDatabase = m_pDatenbank;

//Selektion zurücksetzen

m_pVP.m_strFilter.Format("IDENTKZ = %d", m_lStatus);

m_pVP.Open(CRecordset::dynaset, sQuerry);

//Anzahl Vertragspartner

SetAnzahl();

}

CATCH(CDBException, e)

{ MessageBox (GetsText(IDS_TEXT1, e), "Fehler Datenbank öffnen",MB_ICONSTOP);

e->Delete();

if (m_pVP.IsOpen()) m_pVP.Close(); //Recordset schließen

if (m_pDatenbank->IsOpen()) m_pDatenbank->Close(); //Datenbanken schließen

return FALSE;

}

END_CATCH

return TRUE;

}

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.