The information in this article applies to:
SUMMARYInternet Database Connector (IDC) Scripting can support multiple complex SQL statements in one script. This provides a convenient way for using IDC to develop dynamic Web pages. The corresponding .htx file must be modified to allow multiple SQL query results to be shown from the browser. The sample IDC scripts shipped with Internet Information Server 3.0 and 4.0 only give samples of one SQL statement per IDC file. MORE INFORMATIONThe syntax for a IDC Script (sample) with multiple SQL statements:
As shown in this sample, you can use "AND" to connect multiple SQL statements. The user input variable is indicated by "%Variable_Name%". In the corresponding .htx pages, you must use one "<%Begindetail%>...<%Enddetail%>" session for each SQL SELECT statement. Please refer to the following Microsoft Knowledge Base article when troubleshooting permission-related problems with IDC/HTX queries: Q173959 Permissions Needed for IDC/ASP QueriesThe following Web site may be helpful if migrating from IDC to ASP: http://msdn.microsoft.com/workshop/server/toolbox/toolbox.aspFor additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base: Q161172 ACC97: How to Use IDC Files to Query a Secure MS Access Database Q162975 ACC97: Permissions Necessary to View HTML, IDC, and ASP Files Q142845 How to Use SQL Functions in *.IDC Scripts Additional query words: IDC HTX, Internet Database Connectivity
Keywords : kbDSupport kbiis300 kbiis400 |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |