Re: Question on scope of temp tables created via SP
From: JT Lovell (jt_lovell_at_yahoo.com)
Date: 09/08/04
- Next message: neu: "comparing every record in a recordset"
- Previous message: Anith Sen: "Re: Stuck on creating an easy view, please help"
- In reply to: David Portas: "Re: Question on scope of temp tables created via SP"
- Next in thread: mai_kaira_kail: "Re: Question on scope of temp tables created via SP"
- Reply: mai_kaira_kail: "Re: Question on scope of temp tables created via SP"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 8 Sep 2004 16:30:34 -0400
I agree, which is why all of the data manipulation is in SQL already. VB is
just being used as the presentation layer. The question is how best to
return the multiple output tables to VB so they can be formatted for
display.
If I can use temp tables then it makes multi-user versioning a lot easier.
If I have to use real tables, then it adds additional complexity that I'd
rather avoid if at all possible.
-- JT Lovell "David Portas" <REMOVE_BEFORE_REPLYING_dportas@acm.org> wrote in message news:u1JzhAelEHA.592@TK2MSFTNGP11.phx.gbl... > One question I would ask yourself here is whether you actually need to > materialize these summaries as tables for further processing in VB. If that > VB process is simply more data manipulation then maybe there is a > possibility to put that logic into SQL (SQL is generally more nifty at data > manipulation than VB!). In that way you might be able to avoid using a temp > table at all and just return the end result from a query in your SP. I'm not > saying your approach should never be necessary, just that you should > consider the SQL-based option as well. > > -- > David Portas > SQL Server MVP > -- > >
- Next message: neu: "comparing every record in a recordset"
- Previous message: Anith Sen: "Re: Stuck on creating an easy view, please help"
- In reply to: David Portas: "Re: Question on scope of temp tables created via SP"
- Next in thread: mai_kaira_kail: "Re: Question on scope of temp tables created via SP"
- Reply: mai_kaira_kail: "Re: Question on scope of temp tables created via SP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|