select names starts with a,b,c

Answer Posted / rajkumar v

SELECT * FROM TABLE_NAME WHERE Colum_Name LIKE '[a-c]%'
OR
SELECT * FROM TABLE_NAME WHERE Colum_Name LIKE '[a,b,c]%'

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what changed between the previous version of sql server and the current version? : Sql server database administration

704


What is the difference between sql server 2000 object owner and sql server 2005 schema? : sql server database administration

760


What is create statement?

681


Can you change the data type of a column in a table after the table has been created? If so, which command would you use?

801


Can we delete data from a view?

710






What is an index in sql?

729


What are scalar functions in sql?

814


Can an entity have two primary keys?

725


What do you mean by an execution plan? Why is it used?

731


create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration

715


What is the main purpose of having conversation group?

663


Which tools are available to manage SQL Azure databases and servers?

107


what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

686


How to use values from other tables in update statements in ms sql server?

743


How to specify the collation for a character data type in ms sql server?

740