Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
|
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 20th, 2006, 11:43 PM
Registered User
 
Join Date: Feb 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Syntax in JET not the same as in ODBC

When trying to Inject an SQL command on a site that runs ODBC (just checking vulnerability, not going to do any harm) this runs just fine:

UNION SELECT TOP 1 TABLE_NAME FROM INFORMATION_SCHEMA.TABLES--

But when I try to use it on a site that runs JET it returns me this error:

Microsoft JET Database Engine error '80004005'

Syntax error on the clause FROM.

/encuestas.asp, line 111

I translated the error as it was in spanish.

Should I change the syntax? What should I do?






Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC - insert on a linked field - [microsoft][ODBC chimp MySQL 0 April 7th, 2005 04:44 AM
[Microsoft][ODBC Microsoft Access Driver] Syntax e chinedu Classic ASP Databases 3 November 18th, 2004 03:48 PM
[ODBC Excel Driver]Syntax eror in update alinutza22 Classic ASP Professional 3 September 17th, 2004 04:00 AM
Microsoft JET Database Engine (0x80040E14) Syntax Greywacke Classic ASP Databases 1 February 14th, 2004 01:15 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.