Server Explorer in Visual Studio(2010) -


i'm working on visual studio(2010) , using server explorer database connectivity(sql server) . able connect sql client easily, problem i'm facing using "where" clause in sql query. when write simple sql query "select * employee" executing fine, when write "select * employee empno=1001 " gives following error:

error in clause near 'employee'. unable parse query text.

then when click continue error comes is: sql execution error: error source: .netsqlclientdataprovider error message: expreesion of non-boolean type provided condition expected , near 'no'

can please hepl it..??

from error message must putting space between emp , no.

if empno fieldname 2 words in table, surround [] eg; [emp no]


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -