Re: SQL Query or View Object
From: SriSamp (ssampath_at_sct.co.in)
Date: 03/29/04
- Next message: Uri Dimant: "Re: SQL Query or View Object"
- Previous message: Uri Dimant: "Re: DPV works incorrectly with smalldatetime"
- In reply to: Prabhat: "SQL Query or View Object"
- Next in thread: Uri Dimant: "Re: SQL Query or View Object"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Mar 2004 16:02:14 +0530
I would go in for the view, because it can be secured. Ad-hoc SQL should be
avoided because it can tomorrow be difficult to maintain and change and also
will lead to performance issues.
-- HTH, SriSamp Please reply to the whole group only! http://www32.brinkster.com/srisamp "Prabhat" <not_a_mail@hotmail.com> wrote in message news:%23RIc0cXFEHA.3096@TK2MSFTNGP11.phx.gbl... > Hi to ALL, > > If I want to get a set of records from Database in readonly mode (Ex. For > Report or to Display in a Grid) Which of the Folowing is FASTER? > > 1) Use of SQL Statement in ADO Objects in READONLY Mode from The Application > Program. > 2) Create a VIEW in Database Server for that SQL Query and Use that Query > from Application Program in ADO in READONLY Mode. > > Please Suggest Which Way is Fater and Efficient Way to Retive data to view > only and WHY (The Cause)? > > Thanks > Prabhat > >
- Next message: Uri Dimant: "Re: SQL Query or View Object"
- Previous message: Uri Dimant: "Re: DPV works incorrectly with smalldatetime"
- In reply to: Prabhat: "SQL Query or View Object"
- Next in thread: Uri Dimant: "Re: SQL Query or View Object"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|