kann mir hier jemand sagen, wie ich nur bestimmte Datensätze in einer MySQL Datenbank lesen kann?
Code: Alles auswählen
command.CommandText
= "select xtop.products_id, "
+ " xtop.products_name "
+ " xto.date_purchased, "
+ "from xt_orders xto, "
+ " xt_orders_products xtop, "
+ " xt_orders_stats xtos, "
+ " xt_orders_status_history xtosh, "
+ " xt_orders_total xtot "
+ "where xtop.orders_id = xto.orders_id "
+ " and xtos.orders_id = xto.orders_id "
+ " and xtos.orders_id = xto.orders_id "
+ " and xtot.orders_id = xto.orders_id "
+ " and xto.date_purchased =[b] 01." + this.cboHistoryMonth.Text + "." + this.cboHistoryYear.Text + " "[/b]
+ " and xtosh.orders_id = xto.orders_id";
Ich habe lediglich das ausgeschriebene Monat (in deutsch) zur Verfügung und die Jahreszahl (4 stellig)
Jemand ne Idee?
Grüße,
CE