G
Guest
Folks
When getting the result of a pass-through from SQL Server, does JET's poor performance impact these QueryDef statements which retrieve the result of an insert
Here is the sp
CREATE PROCEDURE dbo.spAddRecord A
SET NOCOUNT O
INSERT INTO tblXXX (Item1, Item2, ...) VALUES (23,25,...
SELECT @@IDENTITY AS "ID
G
'I ASSUME THIS RUNS FAST WITHOUT JET OVERHEA
Set db = CurrentDb(
Set qdf= db.CreateQueryDef(""
qdf.ReturnsRecords = Tru
qdf.SQL = "Exec sp_InsertRecord
'IS THIS SLOWED BY JET OVERHEAD
Set rs = qdf.OpenRecordset(
ID = rs.fields(0
Sparky
When getting the result of a pass-through from SQL Server, does JET's poor performance impact these QueryDef statements which retrieve the result of an insert
Here is the sp
CREATE PROCEDURE dbo.spAddRecord A
SET NOCOUNT O
INSERT INTO tblXXX (Item1, Item2, ...) VALUES (23,25,...
SELECT @@IDENTITY AS "ID
G
'I ASSUME THIS RUNS FAST WITHOUT JET OVERHEA
Set db = CurrentDb(
Set qdf= db.CreateQueryDef(""
qdf.ReturnsRecords = Tru
qdf.SQL = "Exec sp_InsertRecord
'IS THIS SLOWED BY JET OVERHEAD
Set rs = qdf.OpenRecordset(
ID = rs.fields(0
Sparky