Roman Pittroff wrote:
> Hallo
>
> Ich fuehre mit objConn.Execute(cmdSql) eine StoreProc aus nun
> Fage ich mich ob ich da auch mehrere storeprocs aufrufen kann?

Hmm....erzeuge doch zur Laufzeit eine StoredProc in der Du die gew�nschten
anderen SPs ausf�hrst.

A la:

if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[sp_multi_sp]') and OBJECTPROPERTY(id, N'IsProcedure') =
1)
drop procedure [dbo].[sp_multi_sp]
GO

SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS OFF
GO

CREATE PROCEDURE dbo.sp_multi_sp
AS

SET NOCOUNT ON
EXEC sp_erste_procedure
EXEC sp_zweiter_procedure

GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON


Das ganze packst Du innerhalb der ASP-Seite in eine Variable
Dann per adocon.Execute(meineVar) den ganzen Kram erzeugen und per
adocon.execute("EXEC sp_multi_sp") ausf�hren.

gruss

frank
www.xax.de

~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~
Intrexx.BizWalker + ODBC/OLEDB-Daten = ASP-Formular
ATTACK! Download Intrexx CRM-Studio Now!   http://www.intrexx.com
_______________________________________________
Database.asp mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/database.asp

Antwort per Email an