Dynamic SQL Statement With SQL 6.5 
Author Message
 Dynamic SQL Statement With SQL 6.5

I am writing a very dynamic database app.  The user is able to select
fields from any number of tables.  So far, there are only six tables,
but as more users are added (from different departments), the tables
will increase.  I know that there is a limit to the number of joins that
SQL Server 6.5 can handle.  So, my question to anyone and everyone is...

How do you create a dynamic SQL statement, so that an unlimited number
of tables can be added?  I know from talking to my boss, that it IS
possible.  He just won't share the information with me at this time.
 Any ideas?

Kevin Bond



Wed, 28 Jul 2004 13:39:07 GMT  
 Dynamic SQL Statement With SQL 6.5
I don't know SQL Server6.5, as for SQLServer7.0, the limit of tables in
"SELECT..." statement is 256, while each database can hold up to
2,147,483,647 tables.

Just curious, what kind of database you are designing that may hold
unlimited number of , or a few millions of, tables in it?


Quote:
> I am writing a very dynamic database app.  The user is able to select
> fields from any number of tables.  So far, there are only six tables,
> but as more users are added (from different departments), the tables
> will increase.  I know that there is a limit to the number of joins that
> SQL Server 6.5 can handle.  So, my question to anyone and everyone is...

> How do you create a dynamic SQL statement, so that an unlimited number
> of tables can be added?  I know from talking to my boss, that it IS
> possible.  He just won't share the information with me at this time.
>  Any ideas?

> Kevin Bond



Sat, 31 Jul 2004 03:27:17 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. SQL query: from SELECT statement to stored procedure with dynamic PL/SQL

2. Send Update Statement to SQl 6.5

3. RDO error when upgrading from SQL 6.5 to SQL 7.0

4. Upsizing SQL 6.5 to SQL 7.0

5. New Transact-SQL Debugger for Microsoft SQL Server 6.5/7.0

6. USing ASP migrating from SQL 6.5 to SQL 7.0

7. Migrating from SQL 6.5 to SQL 7.0

8. Import text file in SQL Server 6.5 via SQL in Visual Basic

9. SQL Debugger for Microsoft SQL Server 7.0 and 6.5

10. Import text file in SQL Server 6.5 via SQL in Visual Basic

11. Dynamic SQL statements with OpenRecordSet function

12. Dynamic SQL Statement (DATA ENVIRONMENT)

 

 
Powered by phpBB® Forum Software