Using MySql- Select
Afficher commentaires plus anciens
Hi,
I have a problem at this line:
['select count(*) from gene_threepoints where Window_size=30 and leftSeq>= ''',x(1),''' and leftSeq< ''',x+jump,''' and middleSeq>= ''',y,''' and middleSeq< ''',y+jump,''' and rightSeq>= ''',z,''' and rightSeq< ''',z+jump,''' and GENE_id= ''' ,num2str(GENE_id_Array{Loop}),'''']
When I enter this line in the workspace, I get null at the x,y,z values. (This line is inside a triple for of x,y,z).
like this:
select count(*) from gene_threepoints where Window_size=30 and leftSeq>= ' ' and leftSeq< '
' and middleSeq>= ' ' and middleSeq< '
' and rightSeq>= ' ' and rightSeq< '
' and GENE_id= '112'
Windows_size, leftSeq, middleSeq ,rightSeq and GENE_id are columns in the database
What is the mistake?
Thanks in advance for any help!
Réponse acceptée
Plus de réponses (1)
Hodaya
le 29 Déc 2011
0 votes
Catégories
En savoir plus sur Database Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!