Microsoft
Software
Hardware
Network
Question : SQL Query
Experts
please tell me what is the correct conversion of the
string query = "select count(CustomerID) from Table_InvoiceCustomer where Name like ' % "+textBox1.Text+ " % ' " ; (this is correct I know ) but my question is
if I convert the above query by parameterizid query then what will be the proper conversion
string query = "select count(CustomerID) from Table_InvoiceCustomer where Name like '%@parameter1%' ";
this I tried but not working .
Please suggest.
Thanking you
Anindya
Answer : SQL Query
string query = "select count(CustomerID) from Table_InvoiceCustomer where Name like '%' + @parameter1 + '%' ";
Random Solutions
Demoted windows 2003 domain controller log on
Cannot print to an HP LaserJet 1200 Printer in Terminal Server
backup of a work book
cisco router isdn graceful shutdown
Blade server hot swap
Excel Page with Multiple Columns
Valid Date
how to create 3d logo as in example provided
sed/awk help
Page crashes when the user press tab key on input box.