Re: SQL Problem
From: JMorrell (JMorrell_at_discussions.microsoft.com)
Date: 01/25/05
- Next message: =WereWolf=: "Handling input from many keyboards"
- Previous message: Dave L: "Re: How to run a script during a VS.NET build?"
- In reply to: UAError: "Re: SQL Problem"
- Next in thread: Bernie Yaeger: "Re: SQL Problem"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 Jan 2005 08:31:02 -0800
Thanks again for the reply.
My Access db is distributed to one user for input and about a dozen users
for view only access. The data sits on our SQL server. All of my queries
sit on each user's pc with the exception of a stored procedure being called
for 2 reports.
As mentioned, I'm a newby with VB and am wanting to eventually make my
application web enabled. I wanted to get my feet wet by creating a windows
app to produce an often-used display screen showing data.
Unless there are other suggestions, I should bone up on stored procedures.
JMorrell
"UAError" wrote:
> "JMorrell" <JMorrell@discussions.microsoft.com> wrote:
>
> >Wow. that certainly says a lot.
> >
> >Did I mention that my Access query includes queries, which include queries?
> >How is that handled with t-sql?
> >
> >tia,
> >JMorrell
> >
> >
>
> The Access "query object" plays the same role as a "view"
> does in a relational database. AFAIK a view may refer to
> another view - though the this may not be desirable for
> other reasons.
>
> Many of these "Access queries" would be better implemented
> as stored procedures in SQL-Server. As stored procedures can
> use other stored procedures, you could minimize your
> duplication of logic and code.
>
> However, while you stated that you are working with
> SQL-Server for the sake of the walkthrough, you didn't
> expressly state that you are going to migrate your data from
> Access to SQL-Server. OleDb can work with an Access database
> file, e.g.:
>
> If you are using Access, you need to use the
> OleDbConnection, OleDbCommand, and OleDbDataAdapter
> object found in the System.Data.OleDb namespace and
> change your connection string to something like the
> following:
>
> "Provider=Microsoft.Jet.OleDb.4.0;
> Data Source=C:\Access\Northwind.mdb"
>
>
> But then you are going to be limited to the functionality
> and syntax of Access.
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/usingadonet.asp
>
>
> 'Any fool can write code that a computer can understand.
> Good programmers write code that humans can understand.'
> Martin Fowler,
> 'Refactoring: improving the design of existing code', p.15
>
- Next message: =WereWolf=: "Handling input from many keyboards"
- Previous message: Dave L: "Re: How to run a script during a VS.NET build?"
- In reply to: UAError: "Re: SQL Problem"
- Next in thread: Bernie Yaeger: "Re: SQL Problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|