Your browser does not support IFRAMEs.
Home
Tally Solutions
Careers
FAQ
Route Map
Downloads
Wiaanites Forum
Contact Us
Main Office
Singapore Office
UK Office
Wiaanities Forum
February 05, 2012, 02:54:40 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: SMF - Just Installed!
Home
Help
Search
Login
Register
Wiaanities Forum
>
For Public (Topics)
>
Databases
>
Use LIKE operator in VB .Net
Pages: [
1
]
« previous
next »
Reply
|
Send this topic
|
Print
Author
Topic: Use LIKE operator in VB .Net (Read 3624 times)
ashoksamurai
WBC Members
Newbie
Posts: 1
Use LIKE operator in VB .Net
«
on:
June 05, 2009, 03:52:52 AM »
Quote
Posted By
Ashok
Generally in MS Access we use
LIKE
operator with '
*
' character for easy search. But when working with
VB 6.0 or VB .Net
coding with
ADO
it will not work if we use '
*
' character. We should replace the '
*
' character into '
%
' character. Then only it will work.
But, if we use '
%
' character directly in MS Access, it will not display any query results even the formed query is correct. There we should use '
*
' character. Only in
VB 6.0 or VB .Net
coding with
ADO
, '
*
' character should replace '
%
' character.
Example
SELECT
<column_list>
FROM
<table_name>
WHERE
<column_name>
LIKE
'% [character(s) to search]%'
«
Last Edit: June 05, 2009, 04:14:34 AM by ashoksamurai
»
Logged
Pages: [
1
]
Reply
|
Send this topic
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
WBC Knowledge Base
-----------------------------
===> Java Script
===> QA and QC
===> VB & VBA
===> VB.Net
===> C#
===> C++
===> Networking and System Administration
-----------------------------
For Public (Topics)
-----------------------------
=> General
=> PHP
=> HTML
=> Java
=> C++
=> .Net
=> Software Engineering
=> Project Management
=> Databases
=> Niche Technologies
=> Health Tips
=> Work place skills
Loading...