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.

Syntax Fehler

Empfohlene Antworten

Veröffentlicht

Hallo Leute

Ich hoffe Ihr könnt mir mal helfen.

Beim ausführen des Programms (datenbank) im IE oder im Firefox kriege ich den

Syntax Fehler gemeldet, und zwar in der Form

Falsche Syntax in der Nähe des 'AND'-Schlüsselwortes

/Sgl_pricer/dbfunc.inc, line19

hier der code:


<%
function GetDbConn()
dim conn : Set conn = Server.CreateObject("ADODB.Connection")
conn.ConnectionString = "Provider=SQLOLEDB;Data Source=<HostName>;Database=<DatabaseName>;Uid=<UserName>;Pwd=<Password>;"
conn.Open
set GetDbConn = conn
end function

function GetDbRs()
dim rs
Set rs = Server.CreateObject("ADODB.Recordset")
set GetDbRs = rs
end function

function DbExecuteQuery(sql)
dim rsOut, conn
Set rsOut = GetDbRs()
Set conn = GetDbConn()
rsOut.open sql, conn
set DbExecuteQuery = rsOut
end function

sub DbRsClose(ByRef rs)
if rs.state = adStateOpen then
dim conn
set conn = rs.ActiveConnection
rs.Close
if Not IsNull(conn) And Not (conn is Nothing) then
conn.Close
Set conn = Nothing
end if
end if
Set rs = Nothing
end sub
%>
[/PHP]

Kann mir da jemand helfen?

Habe keine Idee mehr...:-( (Voll abgebrannt)

Danke im Voraus

Bearbeitet von grueni

Hallo.

Also die Query ist wahrscheinlich schon irgendwo in der SQL Datei drin, die schon aufm Server ist.

Ich bekam sie per mail fertig, musste sie dann nur noch aufn SQL Server importieren.

Grüße

Adam

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.