>>Although I don't understand how to do item 4) in your list. How do you create a temp table in SQL Server without a stored procedure?
>
>The same way you would create it in the stored procedure: by sending SELECT INTO or CREATE TABLE from frontend.
Sorry that I can't get this concept wrapped in my head. Are you saying that I can send (in the same SPT connection) to SQL Server a string that will create a temp table and then a SQL Command string that will use this table in a SQL Select?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham