Re: Question about SqlCe Parameters usage
From: tiger79 (poli_at_freemail.nl)
Date: 07/07/04
- Next message: William Ryan eMVP: "Re: importing Database"
- Previous message: John Smith: "Re: OSGI.NET???"
- In reply to: Jon Skeet [C# MVP]: "Re: Question about SqlCe Parameters usage"
- Next in thread: Jon Skeet [C# MVP]: "Re: Question about SqlCe Parameters usage"
- Reply: Jon Skeet [C# MVP]: "Re: Question about SqlCe Parameters usage"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 7 Jul 2004 14:48:24 +0200
Sorry Jon, but how can I make a Query in qhich I specify the range of index
to fetch ?
"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1b55e5e87fc098fc98ae22@msnews.microsoft.com...
> tiger79 <poli@freemail.nl> wrote:
> > about that datatable usage : "Getting the data in one
> > > block from the database may very well be quicker than doing 51
separate
> > > queries."
> > do I still have to make use of paramaters then ? I mean what do u mean
> > exactly ? First I make a datatable containing all records from DB, then
I
> > perform like a search on this datatable ???
>
> No, you create an empty table and fill it with a SQL query which only
> fetches the relevant data. In your original post, you could just have
> done a query which specified the range of index to fetch, for instance.
> You might want to order the results by index, too.
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too
- Next message: William Ryan eMVP: "Re: importing Database"
- Previous message: John Smith: "Re: OSGI.NET???"
- In reply to: Jon Skeet [C# MVP]: "Re: Question about SqlCe Parameters usage"
- Next in thread: Jon Skeet [C# MVP]: "Re: Question about SqlCe Parameters usage"
- Reply: Jon Skeet [C# MVP]: "Re: Question about SqlCe Parameters usage"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|