|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Searching the tables
Hi,
I want to search from database. I have a table which have the prefixes of mobile numbers.. like "919892" and I have the mobile number as "919892123456". I want to find the prefix from the database for the given mobile number.. How can I search. I know that if the case is reverse, I can use LIKE. Venkat |
|
#2
|
|||
|
|||
|
Search Table
hi venkat,
This will help to solve ur proble. sp_tables @table_name='919892%' Bye Sudhir Sharma |
|
#3
|
||||
|
||||
|
Check out the substring() function.
|
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft SQL Server > Searching the tables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|