Re: Best approach to connecting to SQL Server - SQL Commands, Cursor Adapter or ADO
- From: "Olaf Doschke" <b2xhZi5kb3NjaGtlQHQtb25saW5lLmRl.strconv.14@xxxxxxxxxxx>
- Date: Mon, 26 Sep 2005 18:20:27 +0200
> If SQL server administrator only allows your Foxpro to access and
> updates data via stored procedures, would CursorAdaptors help?
Perhaps, as you can define code for Select/Insert/Update/Delete of
the CA (SelectCmd,InsertCmd,UpdateCmd,DeleteCmd) instead of
automatically generated SQL. That may not be SQL but stored
procedure (sp) calls...
Haven't tried though. And the advantage is lost, especially if you
are sure you'll stay with MS SQL Server. You'd have to implement
the code within the Cursoradapter classes, you could also send via
SQLExec() instead.
But CursorAdapter won't have more rights and be able to do more
SQL than you are allowed, as it also has to connect via user/password
and is only granted the priviliges that connected user has.
Bye, Olaf.
.
- References:
- Prev by Date: Re: Buggy Zorder() affects ControlCount/Controls() ?
- Next by Date: Re: Buggy Zorder() affects ControlCount/Controls() ?
- Previous by thread: Re: Best approach to connecting to SQL Server - SQL Commands, Cursor Adapter or ADO
- Next by thread: Re: Best approach to connecting to SQL Server - SQL Commands, Cursor Adapter or ADO
- Index(es):
Relevant Pages
|
Loading