Re: Zugreifen auf eine Stored Procedure

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Alexander Hoffmann (news_at_lomosoft.de)
Date: 11/24/04


Date: Wed, 24 Nov 2004 16:22:24 +0100


"Olaf Pietsch" <olaf_pietsch@online.ms> schrieb im Newsbeitrag
news:co03f4$j08$02$1@news.t-online.com...
> Hallo Alexander,
>
> "Alexander Hoffmann" <news@lomosoft.de> schrieb im Newsbeitrag
> news:30h94fF2uapvlU1@uni-berlin.de
>
>> wie kann ich denn auf eine Stored Procedure die auf dem SQL Server
>> 2000 liegt zugreifen. Unser SQL Server verlangt ein Benutzer und
>> Passwort. Die Stored Procedure (siehe unten) soll mir eine Recordset
>> zurückliefern.
> User und Passwort sind Eigenschaften der Verbindungszeichenfolge
> (connection string) und haben nichts mit der eigentlichen SP zu tun.
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adosql/adoprg01_0ahx.asp
>
> Da ich Dich so verstehe, dass der SQL Server Authentifizierung hat, mußt
> Du UID, PWD verwenden (und nicht Integrated Security=SSPI).
>
> Tip: Lege Dir eine Textdatei auf Deinem Desktop an, z. B. conn.txt und
> benenne die Datei in conn.udl um. Dann klicke diese an (Doppelklick) Nun
> kannst Du die Verbindungseigenschaften festlegen und die Verbindung
> testen. Die Verbindungszeichenfolge ist dann in der Datei gespeichert (mit
> Notepad öffnen).
>
> Beispiel:
> [oledb]
> ; Everything after this line is an OLE DB initstring
> Provider=SQLOLEDB.1;Password=PWD;Persist Security Info=True;User
> ID=USR;Initial Catalog=Northwind;Data Source=SERVER
>
> PWD, USR, SERVER sind nur Platzhalter
>
> Gruß Olaf

    Ich glaub mein problem ist ehr die Stored Procedure. Muss ich
irgendetwas beachten damit ich ein recordset zurück bekomme.
>
>
>
>



Relevant Pages

  • Re: AcXP MS-SQL --> Sperrungen
    ... Wenn Du ein Recordset aufmachst ruft Access zunächst alle Primärschlüssel ... Und der SQL Server verwendet Fällen, wo alle Daten einer Tabelle ...
    (microsoft.public.de.access.clientserver)
  • Re: ADODB.RecordSet
    ... One fairly easy way is to persist the recordset to XML (see the Save ... to a SQL Server and call UpdateBatch. ...
    (microsoft.public.vb.database.ado)
  • Recordset is Not Updateable
    ... The query is a 4 table join. ... Server all have defined PK. ... Now with a SQL Server 2000 backend, the recordset is not ...
    (microsoft.public.access.queries)
  • Can I refer to a local recordset or client-side table after the FROM clause ?
    ... In order to improve performance for a SQL Server DB which resides on an ... internet server, I am looking for a method in which I can refer for the ... FROM clause to a local recordset instead of a table. ... I want to perform perform in-line SQL statements which refer to ...
    (microsoft.public.sqlserver.programming)
  • Re: Waiting for a recordset to finish fetching
    ... SQL Server does this too--it delivers the first rows to ADO.NET when the first buffer is done. ... JET is not SQL Server and JET's provider is very different than SqlClient but I would not be surprised if JET started making rows available before the last one was found--at least to the DataReader. ... Findcould, in theory, only work on the portion of the Recordset loaded in memory. ...
    (microsoft.public.data.ado)