30. September 2009 12:32
Form - OnOpenForm()
SETCURRENTKEY(Type,"Post Code");
FILTERGROUP(10);
SETRANGE(Type,Type::Company);
FILTERGROUP(0);
declare @p1 int
set @p1=180151301
declare @p3 int
set @p3=16
declare @p4 int
set @p4=1
declare @p5 int
set @p5=1
exec sp_cursoropen @p1 output,N'SELECT *,DATALENGTH("Picture") FROM "NAVDB"."dbo"."Company$Contact" WITH (READUNCOMMITTED, INDEX("$8")) WHERE (("Type"=@P1) AND ("Type"=@P2)) AND "Type"=@P3 AND "Name">@P4 ORDER BY "Type","Name","Name 2","Name 3","Name 4","No_" ',@p3 output,@p4 output,@p5 output,N'@P1 int,@P2 int,@P3 int,@P4 varchar(50)',0,0,0,'Willi Wichtig'
select @p1, @p3, @p4, @p5
30. September 2009 14:36
30. September 2009 15:06
30. September 2009 15:24
30. September 2009 15:36
30. September 2009 15:37
30. September 2009 15:42
Phae hat geschrieben:
- Code:
...'SELECT *,DATALENGTH("Picture") FROM "NAVDB"."dbo"."Company$Contact" WITH (READUNCOMMITTED, INDEX("$8")) WHERE (("Type"=@P1) AND ("Type"=@P2)) AND "Type"=@P3 AND "Name">@P4 ORDER BY "Type","Name","Name 2","Name 3","Name 4","No_" ',@p3 output,@p4 output,@p5 output,N'@P1 int,@P2 int,@P3 int,@P4 varchar(50)',0,0,0,'Willi Wichtig'
select @p1, @p3, @p4, @p5
30. September 2009 16:08
30. September 2009 16:12
30. September 2009 16:20
30. September 2009 16:44
30. September 2009 16:52
30. September 2009 17:24
1. Oktober 2009 08:34
1. Oktober 2009 10:50
fiddi hat geschrieben:...
Du solltest auf dem SQL-Server auch noch prüfen, ob und welche Schlüssel der SQL-Server für diesen Zugriff verwendet.
...
...SELECT *,DATALENGTH("Picture") FROM "NAVDB"."dbo"."Company$Contact" WITH (READUNCOMMITTED, INDEX("$8")) WHERE ...
fiddi hat geschrieben:...
Sind die Statistiken der Datenbank aktuell?
...