VB, ODBC AND SQL SERVER. THE SOLUTION TO SPEED PROBLEMS! 
Author Message
 VB, ODBC AND SQL SERVER. THE SOLUTION TO SPEED PROBLEMS!

After working on this problem for several weeks, I've finally got a VB
program using ODBC to SQL server running fast on a 486dx66 with 8Mb
with a 60,000 + record database.

However, I still have some reservations about the way I've done it.
Anyone want to discuss this?

The way I've done it is to use a local table in an access database.
When the user requires a record, the program executes a query that
load the local table from and SQL view.

When the program writes the record, it generates an SQL update query
on the fly, and applies it to an updateable query in the same
database. All of the tables are attached to the SQL server database.

My main resaervation is that this seems like a real mess.

What are yours?

Sid/



Mon, 31 Aug 1998 03:00:00 GMT  
 VB, ODBC AND SQL SERVER. THE SOLUTION TO SPEED PROBLEMS!


Quote:

>After working on this problem for several weeks, I've finally got a VB
>program using ODBC to SQL server running fast on a 486dx66 with 8Mb
>with a 60,000 + record database.

>However, I still have some reservations about the way I've done it.
>Anyone want to discuss this?

>The way I've done it is to use a local table in an access database.
>When the user requires a record, the program executes a query that
>load the local table from and SQL view.

>When the program writes the record, it generates an SQL update query
>on the fly, and applies it to an updateable query in the same
>database. All of the tables are attached to the SQL server database.

>My main resaervation is that this seems like a real mess.

>What are yours?

>Sid/

Have you looked into using RDO.  We're getting very good response with
it, unless the server is really busy:-)


Sun, 06 Sep 1998 03:00:00 GMT  
 VB, ODBC AND SQL SERVER. THE SOLUTION TO SPEED PROBLEMS!

Quote:



[snip]
>>Sid/

>Have you looked into using RDO.  We're getting very good response with
>it, unless the server is really busy:-)

The SQL OLE object is REAL FAST. I've done a project in 32bit VB
connecting to an SQL Server. Stable and fast connection. Even
faster if you code the queries as stored procedures on the server.

Helge ;-)=)

----------------------------------------------------------
      (c) All Thoughts are Mine -- Genuine Genius
----------------------------------------------------------

----------------------------------------------------------



Mon, 07 Sep 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. VB Sql Server Via ADO Problem: [Microsoft][ODBC Sql Server Driver]

2. ODBC speed to SQL Server

3. VERY URGENT - Visual basic 4.0 - ODBC(SQL Server) SPEED issues

4. Problem connect VB to SQL Server ODBC

5. SQL Server speed/performance problems in Windows 95

6. SQL ADO Update speed problem w/proxy server

7. Linking to SQL server via ODBC in code problem

8. VB4 ODBC connect to SQL Server problem

9. Problem connecting to SQL server via ODBC

10. Problems with ODBC drivers for SQL Server 6.5

11. VB4 and ODBC connection to SQL SERVER problem

12. ODBC and SQL Server 6.5 problem.

 

 
Powered by phpBB® Forum Software