Autor Beitrag
Jagg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Di 19.11.02 17:04 
Hallo !

Ich rufe die Datenbank mit diesem Befehl auf :
ausblenden Quelltext
1:
SELECT * FROM Handy.dbf ORDER BY ARTIST					


...aber danach kann ich nicht mehr in die Datensätze bzw. neue Datensätze einfügen !

Warum ?

Jagg !
Michael Stenzel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 133


D3 Prof, D7 PE
BeitragVerfasst: Mi 20.11.02 01:09 
Hi,

Hast Du die Eigenschaft RequestLife der Komponente TQuery auf TRUE eingestellt?
wwerner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 185



BeitragVerfasst: Mi 20.11.02 07:16 
Hast du einen Index auf Artist?

_________________
Gruß

Wolfgang

----------
zu hause ist es doch am schönsten
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Mi 20.11.02 10:41 
Index habe ich noch nicht !
wie setzt man das ???
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Mi 20.11.02 10:42 
mit create index oder so ?
wwerner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 185



BeitragVerfasst: Mi 20.11.02 10:46 
am einfachsten mit der Datenbankoberfläche

_________________
Gruß

Wolfgang

----------
zu hause ist es doch am schönsten
wwerner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 185



BeitragVerfasst: Mi 20.11.02 10:51 
Auszug aus der Hilfe:

Zitat:
A live result set for a query against a single table or view is returned if the query does not contain any of the following:

DISTINCT in the SELECT clause.
Joins (inner, outer, or UNION).
Aggregate functions, with or without GROUP BY or HAVING clauses.
Base tables or views that are not updatable.
Subqueries.
ORDER BY clauses not based on an index.


Da steht: "lebende Ergebnisse" bei Order Anweisungen gehen nur mit index auf den entsprechenden Feldern

_________________
Gruß

Wolfgang

----------
zu hause ist es doch am schönsten
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Mi 20.11.02 10:51 
setz man sowas dann bei tabelleneigenschaften in der datenbankoberfläche ? (Indizies)

Jagg !