select - what is correct way to declare in sql server 2008 r2 -


enter image description here

at line 79...

if query "select @date = tglmasuk mt_pengemudi id = '2' " succes view result... 1 result...

i hope can view.. result...in query without "where id = '2' " why without "where" failed picture ?

btw, created in sql server 2008 r2, variabel tgl_masuk date start work in school, mt_pengemudi table name, tipe variabel tglmasuk varchar.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -