MDAC 2.5 SDK - ODBC Samples


 

Query Demo Sample

Query Demo demonstrates multiple simultaneous connections using ODBC. It enables you to type any SQL query and browse the results.

Features

Connection Windows

Query Demo enables you to connect to multiple data sources. The only limits on connections are those imposed by each driver and the amount of memory available on the system. Each new connection creates a multiple-document interface (MDI) child Connection window from which SQL statements can be executed.

Statement Windows

Query Demo enables you to open multiple Statement windows on a connection. The only limits on statements are those imposed by each driver and the amount of memory available on the system.

Limitations

Maximum Number of Windows: 10

You can open a maximum of 10 Connection and Statement windows.

Non-SELECT Statements

For non-SELECT statements, application behavior is undefined.

Other Limitations