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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -