B
Brandon
Greetings,
I am having a problem getting a SQL statement that is functional in
Access 2K to work in ASP.
My Access SQL statement is this:
SELECT DateAdd('s',Ticket_Opened_Date,'Dec 31, 1969 8:00:00PM') AS
Opened_Date, AL.Last_Significant_Update_Date AS Last_Updated,
AL.Due_Date AS Ticket_Due_Date, AL.Managing_Station,
AL.Ticket_Opened_Date, AL.Short_Description, AL.Source, AL.Comments,
AL.Member_Visible_Outage_, AL.Impact_Comments, AL.Ticket__,
AL.External_Ticket__, AL.Last_Significant_Update_Date, AL.Due_Date,
AL.Status
FROM dbo_AL_Problem_Management AS AL
WHERE (((AL.Managing_Station)="NOC/ALnet" Or (AL.Managing_Station)="
IOC") AND ((AL.Status)<>4));
The error message from the browser is:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[MERANT][ODBC Sybase driver][SQL Server]Incorrect syntax near AL.
The SQL statement in ASP is:
sql = "SELECT DateAdd('s',Ticket_Opened_Date,'Dec 31, 1969 8:00:00PM')
AS Opened_Date, AL.Last_Significant_Update_Date AS Last_Updated,
AL.Due_Date AS Ticket_Due_Date, AL.Managing_Station,
AL.Ticket_Opened_Date, AL.Short_Description, AL.Source, AL.Comments,
AL.Member_Visible_Outage_, AL.Impact_Comments, AL.Ticket__,
AL.External_Ticket__, AL.Last_Significant_Update_Date, AL.Due_Date,
AL.Status
FROM dbo_AL_Problem_Management AS AL
WHERE (((AL.Managing_Station)="NOC/ALnet" Or (AL.Managing_Station)="
IOC") AND ((AL.Status)<>4)) "
Any help would be appreciated.
Thank you,
Brandon
I am having a problem getting a SQL statement that is functional in
Access 2K to work in ASP.
My Access SQL statement is this:
SELECT DateAdd('s',Ticket_Opened_Date,'Dec 31, 1969 8:00:00PM') AS
Opened_Date, AL.Last_Significant_Update_Date AS Last_Updated,
AL.Due_Date AS Ticket_Due_Date, AL.Managing_Station,
AL.Ticket_Opened_Date, AL.Short_Description, AL.Source, AL.Comments,
AL.Member_Visible_Outage_, AL.Impact_Comments, AL.Ticket__,
AL.External_Ticket__, AL.Last_Significant_Update_Date, AL.Due_Date,
AL.Status
FROM dbo_AL_Problem_Management AS AL
WHERE (((AL.Managing_Station)="NOC/ALnet" Or (AL.Managing_Station)="
IOC") AND ((AL.Status)<>4));
The error message from the browser is:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[MERANT][ODBC Sybase driver][SQL Server]Incorrect syntax near AL.
The SQL statement in ASP is:
sql = "SELECT DateAdd('s',Ticket_Opened_Date,'Dec 31, 1969 8:00:00PM')
AS Opened_Date, AL.Last_Significant_Update_Date AS Last_Updated,
AL.Due_Date AS Ticket_Due_Date, AL.Managing_Station,
AL.Ticket_Opened_Date, AL.Short_Description, AL.Source, AL.Comments,
AL.Member_Visible_Outage_, AL.Impact_Comments, AL.Ticket__,
AL.External_Ticket__, AL.Last_Significant_Update_Date, AL.Due_Date,
AL.Status
FROM dbo_AL_Problem_Management AS AL
WHERE (((AL.Managing_Station)="NOC/ALnet" Or (AL.Managing_Station)="
IOC") AND ((AL.Status)<>4)) "
Any help would be appreciated.
Thank you,
Brandon