at line 79...
if query is "select @date = TglMasuk from MT_Pengemudi where id = '2' " I succes view result... but just one result...
I hope i can view.. all result...in my query without "where id = '2' " why without "where" failed like this picture ?
Btw, I created in sql server 2008 r2, variabel Tgl_masuk is date start work in my school, MT_Pengemudi is table name, tipe variabel TglMasuk is varchar.