Query data in SQL Server - C# -


how perform search having data in sql server

?db203143#f####** 1a4f4n8bx600##### 123h9e3w#9y1##### 

when there special characters ?#** in field equivalent characters(a-z) , numbers(0-9).

? = letters(a-z) or numbers(0-9) # = letters(a-z) or numbers(0-9) * = letters(a-z) or numbers(0-9) 

having data in database:

id: ?db203143#f####** model: testdata 

and when search for:

id: adb20314431f123456 or 1db2031431fffffff or 0db2031435f1f05hj 

this data must returned , can model testdata

thank in advance help.

to build on greg's answer, if trying search columns , tables string, dynamically list of columns. give list of columns in corresponding table , schema.

select     s.name schemaname,     t.name tablename,     c.name columnname sys.tables t join sys.schemas s   on t.schema_id = s.schema_id join sys.columns c   on t.object_id = c.object_id 

Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -