How can i read database from database row by row?
Mostrar comentarios más antiguos
i need to select from database row by row this database built on appserve.
i need to read first row then second but i can't I try a lot . when i select all from database .all field are shown but i need to select row by row ,
also I can't get the true size of database by this function
size('my database name')
or
length('my database name')
I write in my code by using size of database
for i=1:c
for j=1:r
output=x(j,i)
%out=x(i,1)
end
end
cell2mat(x)
x(2,2)
%
2 comentarios
Geoff
el 6 de Mayo de 2012
Why do you want to read one row at a time? What is wrong with selecting all rows at once? You haven't shown the database query that you are using.
Eman Shaltout
el 7 de Mayo de 2012
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Database Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!